gphoto2 and readline

Dennis Veatch dveatch at woh.rr.com
Wed Jun 1 04:36:11 UTC 2005


On Tuesday 31 May 2005 11:41 pm, Terry Chan wrote:
> Combreloc and Reduce are NOT safe optimizations, but then you knew that.
> If you have compiled your entire lunar box with those options then you will
> find more errors like the one you just described with gphoto2 and readline.
>
> Terry Chan
> --------------------------------------------------------------

Yer right. Forgot about those two. Odd though, gphoto2 is the only thing I've 
encountered so far that bombed so badly.

Recompiled it without those and it werkey werkey.

Thanks for the knock in the head.

>
> On Tue, May 31, 2005 at 11:19:20PM -0400, Dennis Veatch wrote:
> > I'm having a problem using gphoto2 from the command line. Trying
> > something as simple as ;
> >
> > bash-3.00$ gphoto2 --help
> > gphoto2: relocation error: /lib/libreadline.so.5: undefined symbol: BC
> >
> > I have tried recompiling gphoto2 and readline but the error persists.
> > Some bumbling around and these links suggest it's a readline problem. I
> > am not certain about this as I know nil about it;
> >
> > http://archives.postgresql.org/pgsql-hackers/2005-05/msg00488.php
> >
> > http://thep.physik.uni-mainz.de/pipermail/ginac-devel/2000-January/000064
> >.html
> >
> > http://sources.redhat.com/ml/binutils/2005-05/msg00599.html
> >
> > http://sources.redhat.com/ml/binutils/2005-05/msg00620.html
> >
> > So I tried the following for anyones perusal;
> >
> > root at sidney ~ # ldd -d -r /lib/libreadline.so
> > ldd: warning: you do not have execution permission for
> > `/lib/libreadline.so' linux-gate.so.1 =>  (0xffffe000)
> >         libc.so.6 => /lib/libc.so.6 (0x4002e000)
> >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> > undefined symbol: BC    (/lib/libreadline.so)
> > undefined symbol: PC    (/lib/libreadline.so)
> > undefined symbol: UP    (/lib/libreadline.so)
> > undefined symbol: tgetnum       (/lib/libreadline.so)
> > undefined symbol: tgoto (/lib/libreadline.so)
> > undefined symbol: tgetflag      (/lib/libreadline.so)
> > undefined symbol: tputs (/lib/libreadline.so)
> > undefined symbol: tgetent       (/lib/libreadline.so)
> > undefined symbol: tgetstr       (/lib/libreadline.so)
> >
> > This is on Indium Phosphide with SSE, SSE2, MMX, dnow, Strip, Optimize,
> > Reduce and Combreloc. Yes my CPU supports those.
> >
> > Not sure what to do at this point.
>
> _______________________________________________
> Lunar mailing list
> Lunar at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar


More information about the Lunar mailing list