-   Slackware (
-   -   [Possible bug] Broken libffi symlink in current? (

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:


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

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, was part of the gcc-java package, but later versions included 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 11:11 PM.