lib64 issue

51 views
Skip to first unread message

cav71

unread,
Mar 10, 2012, 5:36:45 PM3/10/12
to GeeXboX Development List
Hi,
I';m trying to compile geebox on a x64 platform (suse 12.1).
During the build of libtool-host-2.4 I had this error message:

cp: cannot stat `.install/usr/lib': No such file or directory

The problem is build/build.beagleboard.eglibc/libtool-
host-2.4/.install/usr has:

bin include lib64 share

This mean the usual lib is (under x86 arch) under lib64.
Where's the best place where to put changes? config/functions?

Thanks

Thomas Genty

unread,
Mar 11, 2012, 6:09:25 AM3/11/12
to geexbo...@googlegroups.com
> Hi,
> I';m trying to compile geebox on a x64 platform (suse 12.1).
> During the build of libtool-host-2.4 I had this error message:
>
> cp: cannot stat `.install/usr/lib': No such file or directory
>
> The problem is build/build.beagleboard.eglibc/libtool-
> host-2.4/.install/usr has:
>
> bin include lib64 share
>
> This mean the usual lib is (under x86 arch) under lib64.
not all the time,
host : x86_64 arch (ubuntu)
target : x86_64
and my libtool-host-2.4 contains lib , not lib64.

> Where's the best place where to put changes? config/functions?
check at the end of build script ?
> Thanks
>
Tom

Thomas Genty

unread,
Mar 11, 2012, 6:16:50 AM3/11/12
to toml...@openbricks.org, geexbo...@googlegroups.com
can you test this :
--- a/packages/libtool-host/build Sun Mar 11 10:11:37 2012 +0100
+++ b/packages/libtool-host/build Sun Mar 11 11:12:08 2012 +0100
@@ -14,3 +14,5 @@
sed -i .install/usr/bin/libtoolize -e
"s:^prefix=.*\$:prefix=$ROOT/$TOOLCHAIN:"

cp -R .install/$ROOT/$TOOLCHAIN/share .install/usr/
+
+[ -d .install/usr/lib64 ] && mv .install/usr/lib64 .install/usr/lib


Tom

gallochri

unread,
Mar 11, 2012, 7:03:23 AM3/11/12
to geexbo...@googlegroups.com, toml...@openbricks.org
The patch is ok for libtool-host on openSUSE 12.1 x86_64.
Now I got the same error for binutils, gmp, mpfr.

gallochri

Thomas Genty

unread,
Mar 11, 2012, 7:20:48 AM3/11/12
to geexbo...@googlegroups.com
Le 11/03/2012 12:03, gallochri a écrit :
> The patch is ok for libtool-host on openSUSE 12.1 x86_64.
> Now I got the same error for binutils, gmp, mpfr.
>
> gallochri
>

patch attached.

Please test and report ;-)

Tom

lib64.diff

gallochri

unread,
Mar 11, 2012, 8:43:31 AM3/11/12
to geexbo...@googlegroups.com, toml...@openbricks.org
All ok, for the patched packages.
Now I have this issue with ppl:

libtool: link: warning: library `/home/gallochri/openbricks/build/build.pandaboard.eglibc/toolchain/lib/libgmpxx.la' was moved.
/usr/bin/grep: /usr/lib64/libgmp.la: No such file or directory
/home/gallochri/openbricks/build/build.pandaboard.eglibc/toolchain/bin/sed: can't read /usr/lib64/libgmp.la: No such file or directory
libtool: link: `/usr/lib64/libgmp.la' is not a valid libtool archive
make[4]: *** [libppl.la] Error 1

Thanks a lot ;-)
gallochri

Thomas Genty

unread,
Mar 11, 2012, 3:55:57 PM3/11/12
to geexbo...@googlegroups.com
Le 11/03/2012 13:43, gallochri a écrit :
> All ok, for the patched packages.
> Now I have this issue with ppl:
>
> libtool: link: warning: library
> `/home/gallochri/openbricks/build/build.pandaboard.eglibc/toolchain/lib/libgmpxx.la'
> was moved.
> /usr/bin/grep: /usr/lib64/libgmp.la: No such file or directory
> /home/gallochri/openbricks/build/build.pandaboard.eglibc/toolchain/bin/sed:
> can't read /usr/lib64/libgmp.la: No such file or directory
> libtool: link: `/usr/lib64/libgmp.la' is not a valid libtool archive
> make[4]: *** [libppl.la] Error 1

Can you test with latest commits ?

Tom

gallochri

unread,
Mar 11, 2012, 4:33:02 PM3/11/12
to geexbo...@googlegroups.com, toml...@openbricks.org
Still have this issue:


/usr/bin/grep: /usr/lib64/libgmp.la: No such file or directory
/home/gallochri/openbricks/build/build.pandaboard.eglibc/toolchain/bin/sed: can't read /usr/lib64/libgmp.la: No such file or directory
libtool: link: `/usr/lib64/libgmp.la' is not a valid libtool archive
make[4]: *** [libppl.la] Error 1

gallochri

Thomas Genty

unread,
Mar 11, 2012, 5:07:40 PM3/11/12
to gallochri, geexbo...@googlegroups.com
Le 11/03/2012 21:33, gallochri a écrit :
> Still have this issue:
>
> /usr/bin/grep: /usr/lib64/libgmp.la: No such file or directory
> /home/gallochri/openbricks/build/build.pandaboard.eglibc/toolchain/bin/sed:
> can't read /usr/lib64/libgmp.la: No such file or directory
> libtool: link: `/usr/lib64/libgmp.la' is not a valid libtool archive
> make[4]: *** [libppl.la] Error 1

do you have a libgmp.la file in
build/build.pandaboard.eglibc/toolchain/lib ?

>
> gallochri
>
> Il giorno domenica 11 marzo 2012 20:55:57 UTC+1, tomlohave tomlohave ha
> scritto:
>
> Le 11/03/2012 13:43, gallochri a écrit :
> > All ok, for the patched packages.
> > Now I have this issue with ppl:
> >
> > libtool: link: warning: library
> >
> `/home/gallochri/openbricks/build/build.pandaboard.eglibc/toolchain/lib/libgmpxx.la

> <http://libgmpxx.la>'
> > was moved.
> > /usr/bin/grep: /usr/lib64/libgmp.la <http://libgmp.la>: No such
> file or directory
> >
> /home/gallochri/openbricks/build/build.pandaboard.eglibc/toolchain/bin/sed:
> > can't read /usr/lib64/libgmp.la <http://libgmp.la>: No such file
> or directory
> > libtool: link: `/usr/lib64/libgmp.la <http://libgmp.la>' is not a
> valid libtool archive
> > make[4]: *** [libppl.la <http://libppl.la>] Error 1

gallochri

unread,
Mar 11, 2012, 5:42:00 PM3/11/12
to geexbo...@googlegroups.com, gallochri, toml...@openbricks.org
Yes, I have:gallochri@mediacenter:~> ls -l openbricks/build/build.pandaboard.eglibc/toolchain/lib/
totale 3304
drwxr-xr-x 2 gallochri users    4096 11 mar 21.25 ldscripts
-rw-r--r-- 1 gallochri users 1226506 11 mar 21.26 libgmp.a
-rwxr-xr-x 1 gallochri users     939 11 mar 21.26 libgmp.la
-rw-r--r-- 1 gallochri users   40308 11 mar 21.26 libgmpxx.a
-rwxr-xr-x 1 gallochri users     961 11 mar 21.26 libgmpxx.la
-rw-r--r-- 1 gallochri users  398536 11 mar 21.25 libiberty.a
-rw-r--r-- 1 gallochri users   67698 11 mar 21.24 libltdl.a
-rwxr-xr-x 1 gallochri users     942 11 mar 21.24 libltdl.la
-rw-r--r-- 1 gallochri users  632678 11 mar 21.26 libmp.a
-rw-r--r-- 1 gallochri users  979510 11 mar 21.26 libmpfr.a
-rwxr-xr-x 1 gallochri users     970 11 mar 21.26 libmpfr.la
-rwxr-xr-x 1 gallochri users     936 11 mar 21.26 libmp.la

gallochri

Antonio Cavallo

unread,
Mar 11, 2012, 8:07:26 PM3/11/12
to geexbo...@googlegroups.com
All is good with the patch applied: no more issue with paths so far.

But I have the same issue as gallochri with:

/usr/bin/grep: /usr/lib64/libgmp.la: No such file or directory

It looks some weird stuff going on in autoconf/automake/libtool

thanks

Thomas Genty

unread,
Mar 13, 2012, 2:39:28 AM3/13/12
to geexbo...@googlegroups.com
Le 12/03/2012 01:07, Antonio Cavallo a �crit :

> All is good with the patch applied: no more issue with paths so far.
>
> But I have the same issue as gallochri with:
>
> /usr/bin/grep: /usr/lib64/libgmp.la: No such file or directory
>
> It looks some weird stuff going on in autoconf/automake/libtool
>
> thanks
>

The problem comes with this file : /usr/share/site/x86_64-unknown-linux-gnu
remove it or move it solves this issue(at least for ppl & co )

sudo mv /usr/share/site/x86_64-unknown-linux-gnu
/home/your_login/x86_64-unknown-linux-gnu

Tom

Antonio

unread,
Mar 13, 2012, 4:10:01 AM3/13/12
to geexbo...@googlegroups.com
I'll give a try tonight (London time)
thanks


On 13 Mar 2012, at 06:39, Thomas Genty wrote:

gallochri

unread,
Mar 13, 2012, 2:09:42 PM3/13/12
to geexbo...@googlegroups.com
In data martedì 13 marzo 2012 08:10:01, Antonio ha scritto:
> I'll give a try tonight (London time)
> thanks
>

It works for me.
Now I got this on "ncurses" build:

make[2]: Leaving directory
`/home/gallochri/a/build/build.pandaboard.eglibc/ncurses-5.7/objdir-
host/ncurses'
/home/gallochri/a/build/build.pandaboard.eglibc/toolchain/bin/host-gcc
../objects/tic.o ../objects/dump_entry.o -
L/home/gallochri/a/build/build.pandaboard.eglibc/toolchain/lib -lm -I../progs
-I../../progs -DHAVE_CONFIG_H -I../../progs/../include -I. -I../include  -
D_GNU_SOURCE -DNDEBUG -O2 -Wall -pipe -fPIC  -
I/home/gallochri/a/build/build.pandaboard.eglibc/toolchain/include  --param
max-inline-insns-single=1200 -static -L../lib -lncurses -L../lib -lncurses -
dynamic  -ldl  -o tic
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
cannot find -lm
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
cannot find -ldl
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
cannot find -lc
collect2: ld returned 1 exit status
make[1]: *** [tic] Error 1
make[1]: Leaving directory
`/home/gallochri/a/build/build.pandaboard.eglibc/ncurses-5.7/objdir-
host/progs'
make: *** [rootfs] Errore 2

gallochri

Thomas Genty

unread,
Mar 14, 2012, 9:11:06 AM3/14/12
to geexbo...@googlegroups.com
Please test with latest commits
With latest ncurses, no such problem

Tom

Christian Galeffi

unread,
Mar 14, 2012, 9:43:43 AM3/14/12
to geexbo...@googlegroups.com
In data mercoledì 14 marzo 2012 14:11:06, Thomas Genty ha scritto:
> Please test with latest commits
> With latest ncurses, no such problem
>
> Tom
>

Yes, fantastic ;-)

gallochri

Reply all
Reply to author
Forward
0 new messages