Relative symbolic links damaged by Finder

I have little experience of these matters and would be grateful if somebody could explain the apparent differences between command line and Finder use of relative symbolic links. The example below examines relative symbolic link z before, during and after it has been moved twice by the Finder.
G4:~ neville$ cd /x/y
G4:y neville$ ln -s ../ z
G4:y neville$ ls -l
total 8
lrwxr-xr-x 1 neville staff 3 4 Jul 21:46 z -> ../
Move z to x with Finder.
G4:y neville$ cd ../
G4:x neville$ ls -l
total 8
drwxr-xr-x 3 neville staff 102 4 Jul 21:48 y
lrwxr-xr-x 1 neville staff 3 4 Jul 21:46 z -> ../
The above listing is as I would expect and Finder's Get Info confirms that z points to root.
Move z to y with Finder.
G4:x neville$ cd y
G4:y neville$ ls -l
total 8
lrwxr-xr-x 1 neville staff 3 4 Jul 21:46 z -> ../
The above listing is as I would expect but Finder's Get Info still shows z pointing to root.
Is it possible that the first Finder move converts the Finder's view of z to an absolute path so that subsequent Finder moves no longer maintain the correct relative relationship? Clearly the Terminal continues to report what one would expect although, unfortunately, double clicking z appears to confirm the Finder's incorrect interpretation.
How can I ensure that the Finder does not alter relative symbolic links and hence maintain consistency between Terminal and Finder?

Neville Hillyer wrote:
I was not aware that the Finder had a cache - where is it?
In the Finder process.
killall Finder is a little drastic - is there a way to clear the cache or force an update without relaunching the Finder?
No. The cache is there to prevent repeated disk accesses. It wouldn't help to store such a cache on disk.
I wonder if this cache foible is likely to ever result in serious loss of data due to imperfect backups etc - can anybody think of any such issues?
No. This is only in the Finder processes. If your backups relied on the Finder, opened relative symbolic links, then moved them around, then opened them again, it might have problems. That would be a really wacky backup program.
Symbolic links are UNIX things and, as such, are rarely manipulated by the Finder. The expectation is that anyone using symbolic links will do so from a shell.
My understanding is that relative links are often used by applications during normal operation and installation.
Not often. When they are used, they are rarely opened with the Finder and then moved.
I came across this while customising Thunderbird for easy deployment with different users/Macs. Relative links made the task much easier.
The links themselves have not been changed. They will work fine in Thunderbird.
There is an almost total lack of information in man pages about relative links
There is plenty of information. It is mostly in developer documentation related to file systems.
It would be much more helpful if Finder Get Info were to display relative paths in the same way as the Terminal ie: z -> ../
That would only make the problem worse. Get Info clearly shows the Original being in the wrong location. The Finder was designed for Aliases, not symbolic links. Symbolic links work in the Finder a whole lot better than Aliases work in the Terminal.

Similar Messages

  • FTP does not see symbolic linked files

    I have an FTP site the drive that it's on cannot hold all my files so I used symbolic link(ln -s filelocation/filename) them from another drive. When I ftp into the site (Windows or Mac) the the symbolically linked files don't appear. How can't make these files visible?

    Hi Gene,
    I had the same problem with a symbolic link I placed into the "Movies" Folder, the links wasn't visible within Frontrow.
    I solved the problem by selecting the symbolic link in the Finder and creating an Alias of this symbolic link. The new Alias pointed on the original directory with all required permissions and was visible through Frontrow. I could delete the symbolic link itself as the Alias pointed to the new place.
    Should work in your case as well,
    Chris

  • Finding Symbolic Links in Unix

    Hi All,
    Is there a way to find whether a File is a Symbolic Link or not in Unix Environment using Java API ??
    Thanks
    Sateesh

    Since you knew that one, it
    would interest me to know if you know how to detect
    if a file is hard linked, and to what. I don't think it is possible to tell if a file is hard linked using pure Java because ALL files are effectively hard linked. Within unix, a file is separate from it's name and it's name is linked to the file. A hard link is just another name linked to a file.
    I seem to remember that each file has a reference count that indicates how many names the file has linked to it. Using 'ls -al' you get a column that indicates the number of hard links so the reference count must be available through C and therefore through JNI.
    I don't think there are links from a file to any of it's names.
    You will be able to get a more authoritative answer though the use of Google.

  • Symbolic links on samba network drives broken?

    Note: I first posted this in Apple.com > Support > Discussions > Mac OS X v10.5 Leopard > Using Mac OS X Leopard where it was suggested I post here. In my readings it looks like 10.6 may solve some of this but I'm not sure.
    I'm seeing the following sort of behaviour on all of the macs I have tested in the following configuration:
    Network file server:
    Solaris 10
    samba 3.4.2
    Macs:
    Leopard 10.5.6
    Connect to exported folders via smb in finder "connect to server". In the examples below abc123 is a remote folder.
    Open terminal and try the following tests:
    1. Attempting to remove a symbolic link fails.
    * cd /Volumes/abc123/tmp
    * touch foo
    * ln -s foo .bar # this works
    * rm .bar # fails with no message
    * rm foo # succeeds
    * rm .bar # fails with no message
    If the symbolic link is to a socket then you at least get a message when rm fails ("rm: .parentlock: No such file or directory" as an example for a link created on the remote drive by Thunderbird or Firefox).
    2. Removing linked file removes unlinked file??
    * touch foo
    * ln -s foo bart
    * touch ._bart
    * ls -la # observe that ._bart exists
    * rm bart
    * ls -la # observe that bart still exists, but that ._bart is gone!!!
    3. Removing linked file does not work.
    * ln -s bart ._bart
    * rm bart # fails
    4. Hard links do not delete either.
    * touch foo
    * ln foo ._bart
    * rm foo
    * ln -s bar ._bart # ln: ._bart: File exists
    * rm ._bart # rm: ._bart: No such file or directory
    5. Symbolic links are copied instead of the file contents.
    * touch foo
    * ln -s foo ._blaht
    * cp ._blaht /tmp
    and observe that, in /tmp, you have "._blaht -> foo" instead of the actual file.
    So can anyone else reproduce any of the above problems? In my limited searching for samba related problems I did not see any posting about this type of situation. Also, everything works just fine on local drives.

    Depending on the filesystem, Mac OS X creates ._foo files when you create a foo file, so you'll probably have to live with that. For example, for each file on my FAT32-formatted USB flash drive there is a ._xxx file. Others may be able to explain what these things are. I'm pretty sure they contain file metadata, perhaps like .DS_Store files created for other file systems.

  • SMB Symbolic Links disabled after update to 10.6.4

    I just found out how to fix Access Denied messages for any WIndows share that includes a symbolic link directory. Due to a security issue the default was changed to:
    \[global\]
    wide links = no
    This disables access to symbolic links.
    See http://www.samba.org/samba/news/symlink_attack.html
    I changed it back to yes for now to get it working. Will look into this more when the network is not in use. This should have been noted in the smb.conf file.

    For the non-geeks in the audience. 10.6.4 broke access to smb folders being shared by a 10.6.4 machine. My popcorn hour media stremer would no longer use symbolic links as a means to find all my movies spread out on 2 disks. It could see the links as files and clicking on them gave an error message. In my case these links a symbolic links of the folders on my 2 movie drives, labeled sci-fi, westerns, etc. All the links are in my Movies folder in my main user folder. This is setup to be a shared folder and is accessed as an SMB share with my media streamers.
    Apple was apparently fixing a security issue related to symbolic links but killed the ability to set up and use symbolic links like I need them for my home network media streamers.
    To fix do the following:
    Fixing the symbolic link issue with Samba/SMB access problem in 10.6.4
    
* Open smb.conf on the samba server in your favorite text editor
    put the following in a terminal window:
    sudo nano /etc/smb.conf
    
* Find the global samba settings section under [global] and edit the following line:
    wide links = no
    change to:
    wide links = yes
    This enables access to symbolic links.
    nano is a text editor for the terminal. Use the arrow keys to get to the word no in the above string delete no and type yes.
    The control-x to exit and you will be asked to save the file.
    Hit return to save the modified file, do not choose any of the save options.
    For the terminal editor nano, control is the modifier key in dialogs that looks like a upside-down-superscript v.

  • Does ucf.jar preserve symbolic links in native plugins

    Hi everybody,
    First of all, this question is not the same as:
    Does ucf.jar handle symbolic links?
    My question is: I have a native plugin for InDesign CC 2014 (.InDesignPlugin) on a Mac. I wish to package it (with some other stuff: another zxp containing Flex panels, and some Java jars) in a ZXP. To do so, there are two ways of doing it: using ucf.jar or using ZXPSignCmd.
    This post here decided me to use ucf.jar, because of this citation:
    "You may ask why the ucf.jar and not ZXPSignCmd: the reason is that, in order to be CS6 compatible, ucf.jar is the tool of choice."
    There are no explanation, and I decided to trust the author. Maybe is it an error?
    I am able to construct a ZXP and install it with the extension manager. But the installed plugin does not work well. The reason is (I'm pretty sure of it) all the symbolic links of the plugins were replaced by the target of the links. I say I'm pretty sure, because when I use directly the plugin before packaging it in the ZXP, everything is fine. The only difference I could find are these symbolic links that have been transformed.
    In parallel, I tried packaging the ZXP using ZXPSignCmd, and this seems to work fine. This surprised me, because of the link to the blog I mentioned above.
    My ZXP must work with InDesign from CS5 to CC 2014.
    The question is: how to handle symbolic links on mac with ucf.jar?
    Bonus question: why should I not use ZXPSignCmd?
    Thanks

    If the file exists, then the pointed-to files are packaged, instead of the symbolic link itself, which is not what I'm after either; this is a link which will be correct on the destination after the bundle is unpacked, but which may not yet be present on the system doing the packaging. I think this may be related to http://forums.adobe.com/message/4681087#4681087 , though it is not exactly the same problem.
    Perhaps to rephrase my question then:
    How may I package a symbolic link using ucf.jar?
    At the moment there are two options:
    • Destination pointed to by link does not exist -> failure with “file not found”.
    • Destination pointed to by link does exist -> package is built containing the destination file, not the symbolic link.
    Neither of these behaviours is what I want: I want to package the link!

  • Can I Create A Symbolic Link to folders stored on an SMB Share folder?

    Hello,
    I am very new to Unix and was hoping that someone could point me in the right direction with regards to Symbolic links and an SMB share folder ....
    Have purchased an ext. LAN Drive enclosure (http://www.macpower.com.tw/products/hdd3/pleiades/pd_usblan) which connects to my wireless router via ethernet like my G5 (main Mac) - our iBook connects via Airport. I have copied all my general documents/files to the SMB share folder on the ext. drive so that I can access them from the G5 and also the iBook.
    However I'd also like to be able to store my actual Mail folder (/Users/Mark/Library/Mail/), , Safari folder (/Users/Mark/Library/Safari) + my Address Book and other folders sitting in the Application Support folder on my SMB share so all important docs/folders are in the one place. I've tried storing these folders on the SMB share and putting an Alias to these back in Users/Mark/Library/Mail etc but of course an Alias doesn't work.
    Question 1: Can I create a symbolic link to these files if these are stored on an SMB share folder? If so, could you please tell me exactly what I'd need to type into Terminal? My SMB Share path is smb://STORAGE-XXXX/MARK
    I have copied my iPhoto library and iTunes library to the SMB share and are working fine.
    Question 2: Is it possible/worth attempting to move my whole home folder to the SMB share folder? Ideally, I'd like to be able to access my Mail from the iBook as well. If I could log into either the G5 or the iBook and access my latest Mail, Address Book and other Application Settings, that would be perfect. Would this be possible?
    Thanks
    Mark.
    Dual 1.8GHz G5 (Rev.B), 2Gig RAM, 9600XT   Mac OS X (10.4)  

    Dear Mark,
    Yes you can. The command to create a link will look something like this:
    $ ln -s thisFolder /Users/mark/thatFolder
    I did this while I was hosting a microsoft based game. This put all of the players into a common directory.
    SMB just resolved the link and everything worked fine.
    However, as I understand it, some other applications do NOT work very well with links. As I have NOT tried it with other applications, I fear I can be of NO help to you in this matter.
    The only way to find out which applications work with links is to try them and see what happens.
    Best of luck,
    Kurt

  • Maintaining Multiple Arch Installs, Symbolic Links, BTRFS

    Hi again.
    A quick update on my previous post (https://bbs.archlinux.org/viewtopic.php?id=164627). The GRUB problem I was having seems to have stopped. I got a very useful recommendation regarding pacman and XBMC still hasn't been fixed, but is fully usable with the workaround I am using and have just gotten used to it so it's not so much of an issue now. I think now that it should be marked as solved but how do I do that? Was looking around but guess I'm just missing it.
    Anyway now I have a few more issues, or more just questions I guess that I would like help on. Recently I found an old laptop of mine and so to learn more about the Arch system I decided to try and install Arch. Now this laptop is around 5-6 years old and I haven't been able to get WiFi working fully for around 3 years and eventually upgraded 2 years ago to my current laptop. The WiFi was always 'soft-locked' until after about 4-5 restarts (in windows it was fine, but any Linux Distribution post Ubuntu 10.10 had the same issue). The issues still remains in other distributions even after "rfkill all". In Arch ever since running that command (the first boot from install media the issue occurred) this laptops WiFi has been brilliant. I also installed XFCE4 desktop for speed of set up. Now I'm looking to give my laptop to my younger brother before he heads of to University in September until he can afford a new one (or he breaks this one - somehow his laptops never last), as this old one now runs better than it ever did on Windows Vista. My girlfriend is also looking for me to install Linux again on her laptop (we used WUBI in the past) but a full install since her Windows Vista laptop is near unusable in Windows. So far I have got hamachi set up between my new and old laptop, this gives static IP addresses and will allow me to SSH into the laptop for upgrades every so often. I'm planning to do the same for my girlfriends laptop. Would I be stupid to do this via Arch? I've heard it breaks often and I don't want to have to be doing fixes for other peoples laptops as I won't have the time to do so. I guess the reason I want to use Arch is both laptops are quite old and Arch has breathed new life into my old one.
    Secondly I have symbolic links set up in my "Music" and "Video" folders in my home directory to their counterparts in my Windows partition. However my music player "Clementine" doesn't find every album in the music folder. Does symbolic links have "flaws" like this or is it more likely to be my music player behaving badly with symbolic links? I would try another music player but I can't seem to find one which plays FLAC files with external / embedded .cue files so can't really test this out. I can of course link directly to the location but I thought I would ask, just to learn more I guess.
    Now when I installed Arch using BTRFS file system I didn't know that I had to mount using compression immediately, I thought I could add it to the fstab at a later point - obviously not. Now I found a command which will defragment my drive and supposedly compress everything. However this command doesn't make any sense to me and I don't want to just run it without knowing what it does. Could anyone other me any insight into this please? Also does defragmentation after the fstab mount options have been added cause the compression?
    "find -xdev -type f -exec btrfs fi defrag '{}' \;"
    or I also found
    "btrfs filesystem defragment ~/stuff"
    Thanks for any help, I understand this post is quite long so I really appreciate it.
    Last edited by BradPJ (2013-06-13 10:19:47)

    Ah right thanks. I thought as much which is why I asked before I did so, I'll find another distribution. Just where I've been running Arch for a few weeks now and haven't had to do any maintenance at all really, but weren't too sure what I'd be in for in the long-run. I mean to be fair I was always planning on another distribution but as I was playing around at first on the old laptop I ended up with my current way to SSH in and just wondered if it would be viable to do it this way.
    I knew it would be a driver issue at the core of my problem, just weren't too sure if it something else could of been affecting it. Guess I'll try and find another distribution which runs near as new software to Arch as possible as it seems the issue has been fixed in newer versions of the kernel and drivers. Granted the old laptop had been unused for around a year so any update in the last year could of fixed it in this case. Thanks for your input!
    Last edited by BradPJ (2013-06-13 11:35:16)

  • Related Item link is broken in DispForm.aspx for a task in Workflow Tasks list if file name contains " ' " (single quote)

    Description:
    We have created a custom workflow in Microsoft Visual Studio 2013 and SharePoint 2013. This Workflow is associated with a Document library.
    This Workflow starts as soon as any new item is created OR updated in Document library and creates a Task in Workflow Tasks list.
     Related Item link is not working in following scenario -
    Upload a file that contains “ ' “
    in its name, in a document library
    Navigate to Workflow Tasks list
    Open View Item form (DispForm.aspx ) of  Task Created by workflow then click on link in Related Item fields
    OUPUT:
    Related Item link  truncates after “ ' “
    Eg.
    Original Link: http://<Site URL>/Documents/te'st.txt
    Related Item Field: http://<Site URL>/Documents/te
    Is this known bug in SharePoint 2013 OR any hotfix available to fix it.

    Hi,
    As I tested per your description, I can reproduce the issue as well.
    From what I have found out, it seems SharePoint resolve single quote into different code in different place. During the test, if I set Task Name to Document Name, single quote will be resolved to &#39; , if I set some field to Document encoded URL, single
    quote will be resolved to %27 . For now, I haven't found out any article talking about this issue.
    As workaround, we may find out a way to change the Related Item field. However, it is OOB field in workflow task (SharePoint 2013) content type, and this content type cannot be modified in form.
    I'd suggest you add new column to get document url and place in the form in Task content type settings.
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Symbolic Link to Encrypted Folder disappear on reboot

    Good day
    I have a symbolic link from an encrypted folder "/Volume/important Files/" that point to Dropbox folder
    ln -s /Volumes/important\ Files ~/Dropbox/important
    I have additional 'ln' to other files that are NOT encrypted (e.g. a docs folder, some pictures, SecureCRT sessions etc).  These symbolic links are fine, however the symbolic link for the encrypted folder never survives a reboot.
    I was wondering if anyone knew the order of operation if I set the encrypted folder to auto mount (which it is not doing now) in relation to the symbolic link. 
    Thanks

    Have you tried putting the link in a different location?
    the disappearance might not be tied to the encrypted folder as much as the Volumes folder maybe getting "cleaned up" removing mount points for nonexistent shares.

  • Symbolic links in jar

    hi
    i am facing some problem with symbolic links in JAR.
    1)i create a jar file of a directory which has symbolic links in it.
    2)when i unjar it the symbolic links are lost and instead those links contains the data which they were referencing to, which means that the links are dereferenced.
    Can any of u help me out of this? Do jar or zip maintains the symbolic link or not?
    thanks in advance.
    Vipul

    jar-files are typically moved away, so having a symlink in it would be a problem, cause it would mostly be invalid on the target host.
    A few hosts run windows which doesn't even know symbolic links.
    As jar is a kind of zip - how should you zip a symbolic link?
    The idea of symbolic links is, to show some files, which are in fact at some other place, as if they were there.
    Therefor jar 'believes' that those files are there.
    If it would check the file-type, and find out, it is a symlink, what should it do?
    If you don't move your zip around, what's the benefit of a jar?
    It's smaller, because it's packed.
    But you may not make a symlink smaller.

  • Chkconfig does not create right symbolic links

    Hello all,
    I am just adding a script to automate start / stop during Oracle Linux reboot. I figured out that the symbolic links are not created in the right order. To prove that, I create a small script for test purposes.
    =====================================================
    # #!/bin/sh
    # Name: init.test
    # chkconfig: 45 80 20
    # description: Script test for chkconfig
    echo "This is a test script only. chkconfig is not creating correct symbolic links."
    =====================================================
    Then I used chkconfig --add init.test
    It should be created entries for levels 4-5 only, but it creates more soft links in rc.d directories.
    find /etc -name "*init.test" | sort
    /etc/rc.d/init.d/init.test
    /etc/rc.d/rc0.d/K20init.test
    /etc/rc.d/rc1.d/K20init.test
    /etc/rc.d/rc2.d/K20init.test
    /etc/rc.d/rc3.d/K20init.test
    /etc/rc.d/rc4.d/S80init.test
    /etc/rc.d/rc5.d/S80init.test
    /etc/rc.d/rc6.d/K20init.test
    Even that chkconfig show the correct levels, I am just curious why it created more kill soft links in rc.d directories.
    chkconfig --list init.test
    init.test      0:off     1:off     2:off     3:off     4:on     5:on     6:off
    Someone could try to explain to me why the kill script has been added to runlevel 0, 1, 2, and 6? Am I missing something here?
    Appreciate your help on this.
    Cesar
    Edited by: CESARDBAIBM on Feb 18, 2013 2:43 AM

    see
    man chkconfigwhere you can find a good example including explanation
           For example, random.init has these three lines:
           # chkconfig: 2345 20 80
           # description: Saves and restores system entropy pool for \
           #              higher quality random number generation.
           This says that the random script should be started in levels 2,  3,  4,
           and 5, that its start priority should be 20, and that its stop priority
           should be 80.  You should be able to figure out  what  the  description
           says;  the \ causes the line to be continued.  The extra space in front
           of the line is ignored.

  • Symbolic linker ssd and hdd

    I have a macbook pro 15 inch mid 2012 (not retina) with Mountain Lion and Bootcamp Windows 7 Ultimate both stored on main bay SSD. I replaced my superdrive with the HDD and have an external superdrive. Was wondering how to Symbolic Link both OS from SSD to HDD. SSD Intel 520 180 GB is filling up fast but HDD has plenty of room 750 GB. Also i have norton on Winows 7 patition do i now need norton for osx as well? Dont want to lose the speed of SSD but am about to give up and put HDD back into main bay. Any ideas would be great Thank you -)

    Hello GNUTup,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand you are trying to install a new SSD or HDD in your HP Touchsmart 300-1025 Desktop PC.
    First, I am going to do is provide you with the HP Support document: HP Touchsmart 300-1025 Desktop PC, which will walk you through the process of replacing the Hard Drive you currently have. If you require the Hard disk drive mounting cage assembly the part number is 575664-001 and can be obtained from The HP Parts Store. I have not seen anything that limits the type of drive you can install, but I have only seen documentation on HDDs. I am also going to provide you with the HP Support document: Partitioning and Naming Hard Drives (Windows 7) as it is relevant to your computer and since you are replacing the Hard Drive is a great opportunity for you to review a document of this type.
    Second, as for your CD-ROM I am providing you with the HP Support document: Replacing the CD/DVD Drive in HP TouchSmart 300-1000 Series Desktop PCs, which again will walk you through the process of changing out your CD-ROM. If you require the Optical disk drive mounting cage assembly the part number is 575663-001 and again can be obtained from The HP Parts Store.
    I hope I have answered your questions to your satisfaction. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • [SOLVED] ldconfig: /usr/lib/libOpenCL.so.1 is not a symbolic link

    Hi. I use 64 bits arch with gnome and the ATI driver 13.6 beta installed from the AMD binary and I usually execute steam. Everything seem fine, but recently I receive a message when I update any package with pacman
    ldconfig: /usr/lib/libOpenCL.so.1 is not a symbolic link
    However the update seems correct, only that warning message. I've checked the propietary of the file
    pacman -Qo /usr/lib/libOpenCL.so.1
    /usr/lib/libOpenCL.so.1 is owned by libcl 1.1-3
    The last update without the ldconfig message was
    [2013-07-22 21:27] [PACMAN] Running 'pacman -Syu'
    [2013-07-22 21:27] [PACMAN] synchronizing package lists
    [2013-07-22 21:27] [PACMAN] starting full system upgrade
    [2013-07-22 21:29] [PACMAN] upgraded apache (2.2.24-3 -> 2.2.25-1)
    [2013-07-22 21:29] [PACMAN] upgraded apr (1.4.6-1 -> 1.4.8-1)
    [2013-07-22 21:29] [PACMAN] upgraded boost-libs (1.53.0-2 -> 1.54.0-2)
    [2013-07-22 21:30] [PACMAN] upgraded python2-psutil (1.0.0-1 -> 1.0.1-1)
    [2013-07-22 21:30] [PACMAN] upgraded calibre (0.9.38-1 -> 0.9.40-1)
    [2013-07-22 21:30] [PACMAN] upgraded clucene (2.3.3.4-6 -> 2.3.3.4-7)
    [2013-07-22 21:30] [PACMAN] upgraded libpciaccess (0.13.1-1 -> 0.13.2-1)
    [2013-07-22 21:30] [PACMAN] upgraded libdrm (2.4.46-1 -> 2.4.46-2)
    [2013-07-22 21:30] [PACMAN] upgraded cogl (1.14.0-3 -> 1.14.0-4)
    [2013-07-22 21:30] [PACMAN] upgraded wayland (1.1.0-1 -> 1.2.0-1)
    [2013-07-22 21:30] [PACMAN] upgraded mesa (9.1.4-3 -> 9.1.5-1)
    [2013-07-22 21:30] [PACMAN] upgraded clutter (1.14.4-2 -> 1.14.4-3)
    [2013-07-22 21:30] [PACMAN] upgraded dconf (0.16.0-1 -> 0.16.1-1)
    [2013-07-22 21:30] [PACMAN] upgraded colord (1.0.1-1 -> 1.0.2-1)
    [2013-07-22 21:30] [PACMAN] upgraded gnutls (3.2.1-1 -> 3.2.2-1)
    [2013-07-22 21:30] [PACMAN] upgraded libcups (1.6.2-3 -> 1.6.3-1)
    [2013-07-22 21:30] [PACMAN] upgraded cups (1.6.2-3 -> 1.6.3-1)
    [2013-07-22 21:30] [PACMAN] upgraded libgdm (3.8.3-1 -> 3.8.3.1-1)
    [2013-07-22 21:30] [ALPM] warning: directory permissions differ on /var/log/gdm/
    filesystem: 711 package: 1770
    [2013-07-22 21:30] [PACMAN] upgraded gdm (3.8.3-1 -> 3.8.3.1-1)
    [2013-07-22 21:30] [PACMAN] upgraded gnome-contacts (3.8.2-1 -> 3.8.3-1)
    [2013-07-22 21:30] [PACMAN] upgraded gnome-settings-daemon (3.8.3-2 -> 3.8.4-1)
    [2013-07-22 21:30] [PACMAN] upgraded gnome-tweak-tool (3.8.0-1 -> 3.8.1-1)
    [2013-07-22 21:30] [PACMAN] upgraded gnome-user-share (3.8.0-1 -> 3.8.3-1)
    [2013-07-22 21:30] [PACMAN] upgraded idnkit (1.0-2 -> 1.0-3)
    [2013-07-22 21:30] [PACMAN] upgraded lib32-libpciaccess (0.13.1-1 -> 0.13.2-1)
    [2013-07-22 21:30] [PACMAN] upgraded lib32-mesa (9.1.4-1 -> 9.1.5-1)
    [2013-07-22 21:30] [PACMAN] upgraded lib32-mesa-libgl (9.1.4-1 -> 9.1.5-1)
    [2013-07-22 21:30] [PACMAN] upgraded lib32-xz (5.0.4-1 -> 5.0.5-1)
    [2013-07-22 21:30] [PACMAN] upgraded libmbim (1.2.0-1 -> 1.4.0-1)
    [2013-07-22 21:30] [PACMAN] upgraded libqmi (1.4.0-1 -> 1.4.0-2)
    [2013-07-22 21:30] [PACMAN] upgraded libxfont (1.4.5-1 -> 1.4.6-1)
    [2013-07-22 21:30] [PACMAN] upgraded mesa-libgl (9.1.4-3 -> 9.1.5-1)
    [2013-07-22 21:30] [PACMAN] upgraded modemmanager (0.7.991-1 -> 1.0.0-1)
    [2013-07-22 21:30] [PACMAN] upgraded netctl (1.1-1 -> 1.2-1)
    [2013-07-22 21:30] [PACMAN] upgraded opus (1.0.2-2 -> 1.0.3-1)
    [2013-07-22 21:30] [PACMAN] upgraded qtwebkit (2.3.1-2 -> 2.3.2-1)
    [2013-07-22 21:30] [PACMAN] upgraded rtmpdump (20121230-1 -> 20121230-2)
    [2013-07-22 21:30] [PACMAN] upgraded source-highlight (3.1.7-5 -> 3.1.7-6)
    [2013-07-22 21:30] [PACMAN] upgraded tzdata (2013c-1 -> 2013d-1)
    [2013-07-22 21:30] [PACMAN] upgraded xorg-mkfontscale (1.1.0-1 -> 1.1.1-1)
    but honestly I don't know if the message is relate with the gdm warning. The first updated package with the ldconfig message was
    [2013-07-23 12:12] [PACMAN] Running 'pacman -Syu'
    [2013-07-23 12:12] [PACMAN] synchronizing package lists
    [2013-07-23 12:13] [PACMAN] starting full system upgrade
    [2013-07-23 12:13] [PACMAN] upgraded libusbx (1.0.15-1 -> 1.0.16-1)
    [2013-07-23 12:13] [ALPM-SCRIPTLET] ldconfig: /usr/lib/libOpenCL.so.1 is not a symbolic link
    [2013-07-23 12:13] [ALPM-SCRIPTLET]
    I don't know how to remove the ldconfig message, I'm not sure if I can safely remove the libOpenCL.so.1
    Last edited by David López (2013-07-24 12:54:31)

    On my system, that file IS a symbolic link:
    lrwxrwxrwx 1 root root 23 Aws 14 2012 /usr/lib/libOpenCL.so -> /usr/lib/libOpenCL.so.1*
    lrwxrwxrwx 1 root root 27 Aws 14 2012 /usr/lib/libOpenCL.so.1 -> /usr/lib/libOpenCL.so.1.0.0*
    -rwxr-xr-x 1 root root 21K Aws 14 2012 /usr/lib/libOpenCL.so.1.0.0*
    [Aside: I know that the "Aws" isn't English but I hardly ever pass LC_ALL=C myself just because so little is translated into my interface language . Dates is almost it. ]
    I would try reinstalling libcl and take it from there.
    Last edited by cfr (2013-07-24 00:54:01)

  • "/usr/lib is not a symbolic link" and testify+libjpeg7 problem

    everytime I update pacman or do a "ldconfig" I get this:
    /sbin/ldconfig: /usr/lib/ is not a symbolic link
    this appeared by the time i installed libjpeg7 from aur (though I'm not 100% sure libjpeg7 is responsible). I've looked through google trying to find out what it means and if it is a problem, but nada! but, while at libjpeg, even though I installed libjpeg7 I can't compile testify (spotify linux-client). I get this error:
    In file included from image.c:31:
    jmemsrc.h:26: error: conflicting types for 'jpeg_mem_src'
    /usr/include/jpeglib.h:959: note: previous declaration of 'jpeg_mem_src' was here
    make: *** [image.o] Error 1
    make: *** Waiting for unfinished jobs....
    when i make /usr/include/jpeglib.h link to /usr/include/libjpeg7/jpeglib.h the compile and install is successful, BUT, testify crashes telling me:
    Wrong JPEG library version: library is 80, caller expects 70
    if more info's required, I'll provide andif I'm raising a problem already raised (I know there's been a lot of hassle since the upgrade), I'll gladly follow a link to solution.
    edit: the "not a symbolic link" appeared after installing libspotify0.0.3. installed it on another computer, and same thing appeared. though, would still like to know why it appears...
    Last edited by serein (2010-03-27 17:09:58)

    Mr.Elendig wrote:Whatever you are trying to build has to be patched for libjpeg8
    to much to do to get libjpeg7 working the way i want it to?
    i've looked through the source, but i don't know enough to get it working... crap.
    and its xtestify i'm trying to build: http://xtestify.sourceforge.net/

Maybe you are looking for