libffi conflicts with GCC Java

Randy McMurchy randy at
Tue Nov 30 16:18:19 PST 2010

Hi all,

There is a conflict in the book that could potentially cause a lot of
problems. The package libffi was added not too long ago, and installs into /usr/lib. Many packages will link to it if it is

The java language in the GCC compiler set also installs a libffi.
Unfortunately it is If you install GCC with the java
language and you already had the libffi package installed with other
programs and libraries linked to, when the GCC overwrites
it with, things will get ugly.

What is the best way to mention this in the book? My thoughts are to
put a note in the libffi package saying to the effect "If you have any
thoughts at all about installing the java language from the GCC package,
do not install this package, instead, install the GCC java now."

Comments are welcome.


rmlscsi: [bogomips 1003.28] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux i686]
18:06:00 up 29 days, 1:00, 1 user, load average: 0.01, 0.02, 0.00

More information about the blfs-dev mailing list