LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   [Possible bug] Broken libffi symlink in current? (http://www.linuxquestions.org/questions/slackware-14/%5Bpossible-bug%5D-broken-libffi-symlink-in-current-4175455321/)

sombragris 03-23-2013 10:47 PM

[Possible bug] Broken libffi symlink in current?
 
Hi everyone,

I was trying to compile something when the compiling suddenly stopped with this complaint:

Code:

gcc: error: /usr/lib64/../lib64/libffi.so: No such file or directory
Upon inspection, it turned out that /usr/lib64/libffi.so is a broken symlink to /usr/lib64/libffi.so.4

I just want to confirm if this is the case now or it's just a quirk of my heavily customized box. If this is confirmed, then I plan to report the bug to Patrick.

Thanks in advance!

volkerdi 03-23-2013 10:56 PM

Pretty sure it's a quirk of your box. In slackware-13.37, libffi.so.4 was part of the gcc-java package, but later versions included libffi.so.6 as part of a standalone libffi package. If you upgraded your compiler, that would have been removed (but the symlink also should have been).

Since you say that you're running -current, the thing to do is install (or reinstall) the libffi package and it should take care of the problem.

sombragris 03-23-2013 11:00 PM

Thank you Patrick! In fact just manually editing the symlink got around the problem but I will reinstall libffi to be on the safe side of things. Stuff compiles OK upon simply editing the symlink to point out to the correct library. Marking thread as solved.


All times are GMT -5. The time now is 12:24 AM.