LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-23-2013, 10:47 PM   #1
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 92

Rep: Reputation: 17
[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!
 
Old 03-23-2013, 10:56 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 867

Rep: Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750
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.
 
1 members found this post helpful.
Old 03-23-2013, 11:00 PM   #3
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 92

Original Poster
Rep: Reputation: 17
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.

Last edited by sombragris; 03-23-2013 at 11:11 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUG] Missing symlink in libffi josiah Zenwalk 0 01-14-2013 10:44 PM
[SOLVED] Where can I get the source for an old version of libffi - libffi.so.3? for Haskell mimosa Linux - Software 3 10-28-2012 08:04 AM
[SOLVED] problem with libffi in slackware-current zhtengw Slackware 2 08-12-2012 04:13 AM
[BUG] Current pkgtools installpkg bug jazzor Slackware 7 04-16-2009 05:30 AM
symlink-hook: error retrieving current directory: getcwd: cannot access parent dire sailu_mvn Linux - Software 1 03-09-2006 06:01 AM


All times are GMT -5. The time now is 06:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration