public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* libbind troubles
@ 2008-01-08  9:35 Diego .
  2008-01-08 10:52 ` Tom St Denis
  0 siblings, 1 reply; 3+ messages in thread
From: Diego . @ 2008-01-08  9:35 UTC (permalink / raw)
  To: gcc-help

Hi everyone,

It seems my cross compiler is startting running. I'm trying to
cross-compile perl, but i got an error while running configure.gnu:

./configure.gnu -Dcc=/opt/fc4_64/host-x86_64-redhat-linux-gnu/bin/gcc

---- output  LOG -----
I used the command:

        /opt/fc4_64/host-x86_64-redhat-linux-gnu/bin/gcc -o try -O2
-fno-strict-aliasing -I/usr/local/include -L/usr/local/lib try.c
-lbind -lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil
        ./try

and I got the following output:

try.c: In function 'main':
try.c:2: warning: incompatible implicit declaration of built-in function 'exit'
./try: error while loading shared libraries: libbind.so.3: cannot open
shared object file: No such file or directory
The program compiled OK, but exited with status 127.
You have a problem.  Shall I abort Configure [y]
Ok.  Stopping Configure.

------------------------------------

I got bind-libs on opt/fc4_64/host-x86_64-redhat-linux-gnu/usr/lib64 (
i instaled both: bind-libs for i386 and x64_86, both from x86_64 yum
repository ). When i make ldd on try i got this:
# ldd UU/try
        linux-vdso.so.1 =>  (0x00007fffa35fe000)
        libbind.so.3 => not found
        libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003c77800000)
        libgdbm.so.2 => /usr/lib64/libgdbm.so.2 (0x0000003c6da00000)
        libdb-4.3.so => /lib64/libdb-4.3.so (0x0000003c83000000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003c6ee00000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003c6ea00000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003c6e600000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003c80400000)
        libutil.so.1 => /lib64/libutil.so.1 (0x0000003c7d000000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003c6f200000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003c6d600000)

the other shared lib could see & find libs on (sysroot)/usr/lib64, why
libbind not? ( file exists.. i checked it before )

any tip??

Thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libbind troubles
  2008-01-08  9:35 libbind troubles Diego .
@ 2008-01-08 10:52 ` Tom St Denis
  2008-01-08 15:11   ` Diego .
  0 siblings, 1 reply; 3+ messages in thread
From: Tom St Denis @ 2008-01-08 10:52 UTC (permalink / raw)
  To: Diego .; +Cc: gcc-help

Diego . wrote:
> I got bind-libs on opt/fc4_64/host-x86_64-redhat-linux-gnu/usr/lib64 (
> i instaled both: bind-libs for i386 and x64_86, both from x86_64 yum
> repository ). When i make ldd on try i got this:
> # ldd UU/try
>         linux-vdso.so.1 =>  (0x00007fffa35fe000)
>         libbind.so.3 => not found
>   

Does libbind.so.3 exist though?  You may just need to symlink 
libbind.so.3 to libbind.so

Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libbind troubles
  2008-01-08 10:52 ` Tom St Denis
@ 2008-01-08 15:11   ` Diego .
  0 siblings, 0 replies; 3+ messages in thread
From: Diego . @ 2008-01-08 15:11 UTC (permalink / raw)
  To: Tom St Denis; +Cc: gcc-help

hi Tom,

Yes, it exists.. on both: $sysroot/usr/lib and $sysrott/usr/lib64

-rw-r--r-- 1 root root     919 ene  7 10:39 libbind9.la
lrwxrwxrwx 1 root root      17 ene  7 10:39 libbind9.so -> libbind9.so.0.0.5
lrwxrwxrwx 1 root root      17 ene  7 10:39 libbind9.so.0 -> libbind9.so.0.0.5
-rw-r--r-- 1 root root   58209 ene  7 10:39 libbind9.so.0.0.5
-rwxr-xr-x 1 root root     822 ene  7 10:39 libbind.la
lrwxrwxrwx 1 root root      16 ene  7 10:39 libbind.so -> libbind.so.3.0.8
lrwxrwxrwx 1 root root      16 ene  7 10:39 libbind.so.3 -> libbind.so.3.0.8
-rwxr-xr-x 1 root root  308604 ene  7 10:39 libbind.so.3.0.8


Thanks,
Diego.

On Jan 7, 2008 3:24 PM, Tom St Denis <tstdenis@ellipticsemi.com> wrote:
> Diego . wrote:
> > I got bind-libs on opt/fc4_64/host-x86_64-redhat-linux-gnu/usr/lib64 (
> > i instaled both: bind-libs for i386 and x64_86, both from x86_64 yum
> > repository ). When i make ldd on try i got this:
> > # ldd UU/try
> >         linux-vdso.so.1 =>  (0x00007fffa35fe000)
> >         libbind.so.3 => not found
> >
>
> Does libbind.so.3 exist though?  You may just need to symlink
> libbind.so.3 to libbind.so
>
> Tom
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-07 14:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-08  9:35 libbind troubles Diego .
2008-01-08 10:52 ` Tom St Denis
2008-01-08 15:11   ` Diego .

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).