libffi conflicts with GCC Java
randy at linuxfromscratch.org
Tue Nov 30 16:18:19 PST 2010
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
libffi.so.5.0.10 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 libffi.so.4.0.1. If you install GCC with the java
language and you already had the libffi package installed with other
programs and libraries linked to libffi.so.5, when the GCC overwrites
it with libfffi.so.4, 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 126.96.36.199 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