[Slackbuilds-users] libsndfile 1.0.17

Darrell Anderson humanreadable at yahoo.com
Fri Sep 12 14:33:44 UTC 2008


Greetings,

I'm reporting a bug with the libsndfile 1.0.17 build script. I am not a member of the list but I would be grateful for at least one reply to this email address.

I have sqlite 2.6.2 installed, built from the slackbuild.org build script. When I tried to build libsndfile, the script exited with the following error report:

=================================================================

Making all in regtest
make[1]: Entering directory `/home/public/builds/slackware-packages/tmp/libsndfile-1.0.17/regtest'
if i486-slackware-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I./../src     -O2 -march=i486 -mtune=i686 -std=gnu99 -W -Wall -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -Wwrite-strings  -pipe  -MT sndfile-regtest.o -MD -MP -MF ".deps/sndfile-regtest.Tpo" -c -o sndfile-regtest.o sndfile-regtest.c; \
        then mv -f ".deps/sndfile-regtest.Tpo" ".deps/sndfile-regtest.Po"; else rm -f ".deps/sndfile-regtest.Tpo"; exit 1; fi
if i486-slackware-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I./../src     -O2 -march=i486 -mtune=i686 -std=gnu99 -W -Wall -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -Wwrite-strings  -pipe  -MT database.o -MD -MP -MF ".deps/database.Tpo" -c -o database.o database.c; \
        then mv -f ".deps/database.Tpo" ".deps/database.Po"; else rm -f ".deps/database.Tpo"; exit 1; fi
if i486-slackware-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../src -I./../src     -O2 -march=i486 -mtune=i686 -std=gnu99 -W -Wall -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -Wwrite-strings  -pipe  -MT checksum.o -MD -MP -MF ".deps/checksum.Tpo" -c -o checksum.o checksum.c; \
        then mv -f ".deps/checksum.Tpo" ".deps/checksum.Po"; else rm -f ".deps/checksum.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link i486-slackware-linux-gcc  -O2 -march=i486 -mtune=i686 -std=gnu99 -W -Wall -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -Wwrite-strings  -pipe    -o sndfile-regtest  sndfile-regtest.o database.o checksum.o ../src/libsndfile.la -lsqlite3   -lm
mkdir .libs
i486-slackware-linux-gcc -O2 -march=i486 -mtune=i686 -std=gnu99 -W -Wall -Wdeclaration-after-statement -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -Wwrite-strings -pipe -o .libs/sndfile-regtest sndfile-regtest.o database.o checksum.o  ../src/.libs/libsndfile.so /usr/lib/libFLAC.so -L/usr/lib /usr/lib/libogg.so /usr/lib/libsqlite3.so -lpthread -lm
/usr/lib/libsqlite3.so: undefined reference to `dlsym'
/usr/lib/libsqlite3.so: undefined reference to `dlerror'
/usr/lib/libsqlite3.so: undefined reference to `dlopen'
/usr/lib/libsqlite3.so: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [sndfile-regtest] Error 1
make[1]: Leaving directory `/home/public/builds/slackware-packages/tmp/libsndfile-1.0.17/regtest'
make: *** [all-recursive] Error 1

=================================================================

I temporarily removed the sqlite package. The libsnd build script completed without errors. (The final package size was 294782 bytes.) Therefore I next looked at the sources configure file and discovered the --disable-sqlite option. I added this option to the libsndfile build script and reinstalled sqlite 2.6.2. The libsndfile build script again completed without errors. (Oddly, the final package size was 294767 bytes rather than the original 294782 bytes.)

The libsndfile download page provides no tips or warnings about sqlite.

I hope this information helps.

Darrell Anderson
http://humanreadable.nfshost.com/


      


More information about the SlackBuilds-users mailing list