Bug 2203 - incompatible libraries while building frysk with "-m64"
Summary: incompatible libraries while building frysk with "-m64"
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on: 2202
Blocks: 2188
  Show dependency treegraph
 
Reported: 2006-01-25 06:22 UTC by Wu Zhou
Modified: 2006-11-03 03:08 UTC (History)
2 users (show)

See Also:
Host: powerpc-redhat-linux-gnu
Target: powerpc64-redhat-linux-gnu
Build: powerpc-redhat-linux-gnu
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wu Zhou 2006-01-25 06:22:49 UTC
I was trying to build frysk with "-m64" on ppc64.  After adding "-m64" to  the
compilers in EXPORT, I got some errors that skip incompatible libraries in
/usr/lib/, /usr/lib/gcc/ppc-redhat-linux/3.4.3/../../../ and so on.  

After making the following symbol links under /usr/lib64, no such errors any more:

./libatk-1.0.so -> libatk-1.0.so.0.800.0
./libexpat.so -> libexpat.so.0.5.0
./libfontconfig.so -> libfontconfig.so.1.0.4
./libfreetype.so -> libfreetype.so.6.3.7
./libglib-2.0.so -> libglib-2.0.so.0.400.7
./libgmodule-2.0.so -> libgmodule-2.0.so.0.400.7
./libgobject-2.0.so -> libgobject-2.0.so.0.400.7
./libjpeg.so -> libjpeg.so.62.0.0
./libpng12.so -> libpng12.so.0.1.2.7
./libtiff.so -> libtiff.so.3.6
./libvte.so -> libvte.so.4.4.0
./libxml2.so -> libxml2.so.2.6.16


Not sure if this is the right fix, but the build can get continued after those
changes.

BTW. I build frysk on a freshly-installed RHEL4 U3 Beta1 (got from rhn.redhat.com)
Comment 1 Andrew Cagney 2006-01-25 22:55:53 UTC
That looks like mis-installed or bad system RPM, the links should definitly be
there.  On an x86-64 machine I see:

ls -l /usr/lib64/libvte*.so
lrwxrwxrwx 1 root root     15 Jan 20 15:47 /usr/lib64/libvte.so -> libvte.so.4.4.0
Comment 2 Wu Zhou 2006-01-27 04:23:54 UTC
It seems that RHEL only provide 32-bits development libraries on PPC64. Can I
request the 64-bits libraries also provided?  

Besides these symbol links, their responsive pkgconfig description files are
also needed in /usr/lib64/pkgconfig/
Comment 3 Yao Qi 2006-07-11 09:48:10 UTC
All the 64-bit libraries, except libvte.so(which is not needed by frysk),  could
be found on RHEL5 alpha1.  Here are some RPMs about these libraries in RHEL5
alpha1 media.

atk-1.11.4-4.ppc64.rpm
expat-1.95.8-8.2.ppc64.rpm
fontconfig-2.3.95-4.ppc64.rpm
freetype-2.1.10-6.ppc64.rpm
libjpeg-6b-36.2.1.ppc64.rpm
glib2-2.11.3-1.ppc64.rpm
libxml2-2.6.26-2.ppc64.rpm
libpng-1.2.10-5.ppc64.rpm

Comment 4 Yao Qi 2006-07-11 09:57:25 UTC
Close this bug
Comment 5 Wu Zhou 2006-07-12 01:52:51 UTC
These 64-bit libraries are also on FC6 test1.

But I am not sure if these 64-bit libraries will be in the latest FC5 update. My
idea is to let this open until we can verify that FC5 update includes these
64-bit libraries.

So I re-open this bug.

Thanks.
Comment 6 Wu Zhou 2006-07-12 01:54:41 UTC
We also found some other 64-bit libraries missing for building frysk on ppc64.
Will open another bug to track this. Thanks.
Comment 7 Wu Zhou 2006-11-03 03:08:50 UTC
Fixed for FC6. Close.