ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Ltib seems to get a wrong lib path on Ubuntu


From: Stuart Hughes
Subject: Re: [Ltib] Ltib seems to get a wrong lib path on Ubuntu
Date: Sat, 20 Sep 2008 12:07:53 +0100

Hi Rogerio,

How old is your LTIB?  it looks like this is probably some .la files on
the target rootfs causing LTIB to incorrectly link in host libraries.
This will differ from host to host and depending on the config you have
setup.

Do a 'find rootfs -name \*.la' and let me know what you see.

Regards, Stuart

On Fri, 2008-09-19 at 15:37 -0300, Rogerio wrote:
> Hi,
> 
>     Some packages are not compiling on Ubuntu. On Fedora it compiles
> well. Follow my Ubuntu error message:
> 
> -------------------------------------------------------------------------------
> /usr/lib/libz.so: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
> libtool: install: error: relink `libtiffxx.la' with the above command
> before installing it
> make[2]: *** [install-libLTLIBRARIES] Error 1
> make[2]: Leaving directory
> `/home/rogerio/ltib/IMX31_PDK_LINUX_BSP_R13/ltib/rpm/BUILD/tiff-3.8.2/libtiff'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory
> `/home/rogerio/ltib/IMX31_PDK_LINUX_BSP_R13/ltib/rpm/BUILD/tiff-3.8.2/libtiff'
> make: *** [install-recursive] Error 1
> error: Bad exit status
> from /home/rogerio/ltib/IMX31_PDK_LINUX_BSP_R13/ltib/tmp/rpm-tmp.41379
> (%install)
> 
> 
> RPM build errors:
>     Bad exit status
> from /home/rogerio/ltib/IMX31_PDK_LINUX_BSP_R13/ltib/tmp/rpm-tmp.41379
> (%install)
> Build time for libtiff: 0 seconds
> 
> Failed building libtiff
> 
> 
> f_buildrpms() returned an error, exiting
> 
> Started: Fri Sep 19 14:50:48 2008
> Ended:   Fri Sep 19 14:51:04 2008
> Elapsed: 16 seconds
> 
> These packages failed to build:
> libtiff 
> Build Failed
> 
> Exiting on error or interrupt
> 
> ------------------------------------------------------------------------------
> 
> It seems that LTIB is getting libz.so (and other libs) in a wrong path,
> in this case on /usr/lib instead <ltib path>/rootfs/usr/lib.
> 
> Does anybody know what's wrong with Ubuntu? Any idea of what can I do?
> 
> Thanks!!!
> 
> Rogério Pimentel
> 
> 
> _______________________________________________
> LTIB home page: http://bitshrine.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

[Prev in Thread] Current Thread [Next in Thread]