Re: Undefined symbol __eprintf in libaudiofile.so (Gnome ticket reportlogs - #6056)



Simon says:

lavalamp seekup:/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2$ nm -A * | grep
-i __eprintf
cc1plus: [6095] |   2402264|      92|FUNC |GLOB |0    |9      |__eprintf
f771: [6494]    |   2463836|      72|FUNC |GLOB |0    |9      |__eprintf
jc1: [5338]     |   2042224|      72|FUNC |GLOB |0    |9      |__eprintf
libgcc.a[_eprintf.o]: [10]      |         8|      72|FUNC |GLOB |0    |2
|__eprintf
libobjc.a[class.o]: [30]        |         0|       0|NOTY |GLOB |0    |UNDEF
|__eprintf
libobjc.a[hash.o]: [17] |         0|       0|NOTY |GLOB |0    |UNDEF  |__eprintf
libobjc.a[init.o]: [59] |         0|       0|NOTY |GLOB |0    |UNDEF  |__eprintf
libobjc.a[sarray.o]: [23]       |         0|       0|NOTY |GLOB |0    |UNDEF
|__eprintf
libobjc.a[sendmsg.o]: [53]      |         0|       0|NOTY |GLOB |0    |UNDEF
|__eprintf

XMMS is definately building and installing the ESD output plugin:

Making install in esd
make[2]: Entering directory
`/export/home/lavalamp/archive/src/xmms-1.2.3/Output/esd'
make[3]: Entering directory
`/export/home/lavalamp/archive/src/xmms-1.2.3/Output/esd'
/bin/sh ../../mkinstalldirs /usr/local/lib/xmms/Output
/bin/sh ../../libtool  --mode=install ../.././install-sh -c libesdout.la
/usr/local/lib/xmms/Output/libesdout.la
../.././install-sh -c .libs/libesdout.so /usr/local/lib/xmms/Output/libesdout.so
chmod +x /usr/local/lib/xmms/Output/libesdout.so
../.././install-sh -c .libs/libesdout.lai /usr/local/lib/xmms/Output/libesdout.la
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/xmms/Output

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - use the `-RLIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/export/home/lavalamp/archive/src/xmms-1.2.3/Output/esd'
make[2]: Leaving directory
`/export/home/lavalamp/archive/src/xmms-1.2.3/Output/esd'

Still getting the exact same error at runtime even if:

export LIBS="-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -lgcc"

Now what?

--Brian

"Mark R. Bowyer" wrote:

> >From: Erik Jarvi <ejarvi megsinet net>
>
> >> > Paul, All: Do the GNOME people every look at these trouble tickets? ;-)
> >> >
> >> > I am having the exact same problem.  The ESD pluggin will not work.
> >> >
> >> > XMMS ESD Plugin >> ESD (esound) >> Libaudiofile
> >> >
> >> > Ideas, anyone?
>
> Sorry, I'd not noticed this thread before so don't know if this has been said
> yet or not.  __eprintf is in the gcc/g++ libraries, and thus is found at compile
> time when using those compilers.  But on some platforms (Solaris in my case)
> isn't found at runtime as ld.so doesn't know about that compiler configuration,
> and thus the breakage.  You can fix this by using a -R in the link stage of the
> plugin, IIRC.  Tell the .so where it should be looking to link in the compiler's
> library and find this function.
>
> Use nm on the gcc/g++ libraries to find which one has __eprintf in.
>
> Hope this helps,
>
> ---------My opinion - Not sane, intelligent or necessarily useful---------
> o o                                         mailto:Moredhel earthling net
> /v\ark R. Bowyer.    http://Moredhel.i.am   mailto:Mark Bowyer UK Sun COM
> `-'  "Micro$oft have performed an illegal operation and will be shut down"
>
> _______________________________________________
> gnome-list mailing list
> gnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-list







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