Can't compile ESound.



Hi,

I am having trouble compiling esound for the Linux Ultra platform.  It
seems like audiofile did not install properly, but I can't seem to find
any errors... I've tried adding /usr/local/lib to /etc/ld.so.conf,
creating LD_LIBRARY_PATH=/usr/local/lib with no luck... Esound bails as
it can't find the library file?

Can someone help?  How can I verify which library the symbols are
in....?

[root jkary-sun audiofile-0.1.9]# make install
Making install in libaudiofile
make[1]: Entering directory `/root/src/audiofile-0.1.9/libaudiofile'
make[2]: Entering directory `/root/src/audiofile-0.1.9/libaudiofile'
/bin/sh ../mkinstalldirs /usr/local/lib
/bin/sh ../libtool  --mode=install /usr/bin/install -c libaudiofile.la
/usr/loca
l/lib/libaudiofile.la
/usr/bin/install -c .libs/libaudiofile.so.0.0.0
/usr/local/lib/libaudiofile.so.0
.0.0
(cd /usr/local/lib && rm -f libaudiofile.so.0 && ln -s
libaudiofile.so.0.0.0 lib
audiofile.so.0)
(cd /usr/local/lib && rm -f libaudiofile.so && ln -s
libaudiofile.so.0.0.0 libau
diofile.so)
/usr/bin/install -c .libs/libaudiofile.lai
/usr/local/lib/libaudiofile.la
/usr/bin/install -c .libs/libaudiofile.a /usr/local/lib/libaudiofile.a
ranlib /usr/local/lib/libaudiofile.a
chmod 644 /usr/local/lib/libaudiofile.a
PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/jdk1.2.2/bin:/sbin"
ldco
nfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

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
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ../mkinstalldirs /usr/local/include
 /usr/bin/install -c -m 644 audiofile.h /usr/local/include/audiofile.h
 /usr/bin/install -c -m 644 aupvlist.h /usr/local/include/aupvlist.h
 /usr/bin/install -c -m 644 af_vfs.h /usr/local/include/af_vfs.h
make[2]: Leaving directory `/root/src/audiofile-0.1.9/libaudiofile'
make[1]: Leaving directory `/root/src/audiofile-0.1.9/libaudiofile'
Making install in sfcommands
make[1]: Entering directory `/root/src/audiofile-0.1.9/sfcommands'
make[2]: Entering directory `/root/src/audiofile-0.1.9/sfcommands'
/bin/sh ../mkinstalldirs /usr/local/bin
 /bin/sh ../libtool  --mode=install /usr/bin/install -c  sfconvert
/usr/local/bi
n/sfconvert
/usr/bin/install -c sfconvert /usr/local/bin/sfconvert
 /bin/sh ../libtool  --mode=install /usr/bin/install -c  sfinfo
/usr/local/bin/s
finfo
/usr/bin/install -c sfinfo /usr/local/bin/sfinfo
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/src/audiofile-0.1.9/test'
make[1]: Leaving directory `/root/src/audiofile-0.1.9/test'
Making install in docs
make[1]: Entering directory `/root/src/audiofile-0.1.9/docs'
make[2]: Entering directory `/root/src/audiofile-0.1.9/docs'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/src/audiofile-0.1.9/docs'
make[1]: Leaving directory `/root/src/audiofile-0.1.9/docs'
make[1]: Entering directory `/root/src/audiofile-0.1.9'
make[2]: Entering directory `/root/src/audiofile-0.1.9'
/bin/sh ./mkinstalldirs /usr/local/bin
 /usr/bin/install -c audiofile-config /usr/local/bin/audiofile-config
/bin/sh ./mkinstalldirs /usr/local/share/aclocal
 /usr/bin/install -c -m 644 ./audiofile.m4
/usr/local/share/aclocal/audiofile.m4make[2]: Leaving directory
`/root/src/audiofile-0.1.9'
make[1]: Leaving directory `/root/src/audiofile-0.1.9'

AND Now when I run make on esound:


                [root jkary-sun esound-0.2.22]# make
make  all-recursive
make[1]: Entering directory `/root/src/gnome/esound-0.2.22'
Making all in docs
make[2]: Entering directory `/root/src/gnome/esound-0.2.22/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/src/gnome/esound-0.2.22/docs'
make[2]: Entering directory `/root/src/gnome/esound-0.2.22'
/bin/sh ./libtool --mode=link gcc  -g -O2  -o esd  esd.o clients.o
filter.o mix.o players.o proto.o samples.o    libesd.la -lm
gcc -g -O2 -o .libs/esd esd.o clients.o filter.o mix.o players.o proto.o
samples.o .libs/libesd.so -lm -lm -Wl,--rpath -Wl,/usr/local/lib
.libs/libesd.so: undefined reference to `afGetSampleFormat'
.libs/libesd.so: undefined reference to `afReadFrames'
.libs/libesd.so: undefined reference to `afGetChannels'
.libs/libesd.so: undefined reference to `afCloseFile'
.libs/libesd.so: undefined reference to `afGetRate'
.libs/libesd.so: undefined reference to `afGetFrameCount'
.libs/libesd.so: undefined reference to `afOpenFile'
.libs/libesd.so: undefined reference to `afGetTrackBytes'
collect2: ld returned 1 exit status
make[2]: *** [esd] Error 1
make[2]: Leaving directory `/root/src/gnome/esound-0.2.22'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/gnome/esound-0.2.22'
make: *** [all-recursive-am] Error 2
[root jkary-sun esound-0.2.22]#

[root jkary-sun esound-0.2.22]# ls /usr/local/lib
gcc-lib/            libaudiofile.so.0.0.0*   libgthread-1.2.so.0.0.8*
glib/               libglib-1.2.so.0@        libgthread.a
ldscripts/          libglib-1.2.so.0.0.8*    libgthread.la*
libImlib.a          libglib.a                libgthread.so@
libImlib.la*        libglib.la*              libiberty.a
libImlib.so@        libglib.so@              libsparc64-linux-bfd.a
libImlib.so.1@      libgmodule-1.2.so.0@     libsparc64-linux-bfd.so@
libImlib.so.1.9.8*  libgmodule-1.2.so.0.0.8
libsparc64-linux-bfd.so.2.8.1*
libaudiofile.a      libgmodule.a             libsparc64-linux-opcodes.a
libaudiofile.la*    libgmodule.la
libsparc64-linux-opcodes.so@
libaudiofile.so@    libgmodule.so@
libsparc64-linux-opcodes.so.2.8.1*
libaudiofile.so.0@  libgthread-1.2.so.0@
[root jkary-sun esound-0.2.22]#





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