gnupic: Thread: Pb with library and gpsim


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Pb with library and gpsim
From: ####@####.#### (Yves Bergeon)
Date: 2 Mar 2000 18:56:14 -0000
Message-Id: <200003021848.TAA04357@seneque.bretagne.ens-cachan.fr>

Hi,
I have a problem with readline library (Mandrake7.0 with /lib/libreadline.so.4.0).
gpsim was installed with rpm (but it seems to be the same with the tar version).
Message:   
gpsim: error in loading shared libraries: /lib/libreadline.so.3: undefined symbol: BC

With the command : nm /lib/libreadline.so.4.0
I have the result:
        U BC
         U PC
         U UP
00025850 A _DYNAMIC
000251a4 A _GLOBAL_OFFSET_TABLE_
         U ####@####.####
00025198 ? __CTOR_END__
00025194 ? __CTOR_LIST__
000251a0 ? __DTOR_END__
0002519c ? __DTOR_LIST__
00025190 ? __EH_FRAME_BEGIN__
00025190 ? __FRAME_END__

Is there any patch ?
HThanks for reply,
Yves B.
Subject: Re: Pb with library and gpsim
From: Axel Wachtler ####@####.####
Date: 3 Mar 2000 07:05:33 -0000
Message-Id: <38BF708C.79EBCD4D@eakss1.et.tu-dresden.de>

Yves Bergeon wrote:

> Hi,
> I have a problem with readline library (Mandrake7.0 with /lib/libreadline.so.4.0).
> gpsim was installed with rpm (but it seems to be the same with the tar version).
> Message:
> gpsim: error in loading shared libraries: /lib/libreadline.so.3: undefined symbol: BC
>
> With the command : nm /lib/libreadline.so.4.0
> I have the result:
>         U BC
>          U PC

Hi Yves,

First I see in your mail, gpsim is trying libreadline.so.3 and you have a nm of
libreadline.so.4.0.

I had a similiar problem wit suse6.0 for static linking, there was functions not found
in libreadline and I figured out that there is libcurses also to link.

I repeated the call of cc in the gpsim directory by hand and it works. For suse6.3 I got
a missed other
symbol (BSD_FLAG or sth.) and I stopped investigations there.

Ciao Axel


Subject: Re: Pb with library and gpsim
From: Scott Dattalo ####@####.####
Date: 6 Mar 2000 14:09:26 -0000
Message-Id: <Pine.LNX.4.05.10003060752440.15502-100000@tempest.blackhat.net>


On Thu, 2 Mar 2000, Yves Bergeon wrote:

> Hi,
> I have a problem with readline library (Mandrake7.0 with /lib/libreadline.so.4.0).
> gpsim was installed with rpm (but it seems to be the same with the tar version).
> Message:   
> gpsim: error in loading shared libraries: /lib/libreadline.so.3: undefined symbol: BC
> 
> With the command : nm /lib/libreadline.so.4.0
> I have the result:
>         U BC
>          U PC
>          U UP
> 00025850 A _DYNAMIC
> 000251a4 A _GLOBAL_OFFSET_TABLE_
>          U ####@####.####
> 00025198 ? __CTOR_END__
> 00025194 ? __CTOR_LIST__
> 000251a0 ? __DTOR_END__
> 0002519c ? __DTOR_LIST__
> 00025190 ? __EH_FRAME_BEGIN__
> 00025190 ? __FRAME_END__
> 
> Is there any patch ?

Sorry it took so long to reply (I had meant to earlier and then forgot...)

As others have experienced, there's something wrong with the way gpsim
interfaces to the readline library. The problem is that I don't know why.
I can't reproduce this behavior so I have no way to debug it. This is the
first time I heard of a '4.0' readline library, so perhaps there's a
readline incompatibility issue between 3 and 4. I'll try downloading and
installing the latest readline library and see if I can reproduce this
behavior. 

There won't be a patch until I or someone else knows exactly what's going
on.

Scott

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.