[streaming] VLS make complains it cannot find libdvbpsi

Marc Remijn marrem at dubhead.xs4all.nl
Fri Oct 28 12:18:27 CEST 2005


When I try to compile (make) the VLS sources it breaks with this message:

Linking vls...
g++  -D_REENTRANT -rdynamic -o bin/vls obj/core/application.o 
obj/core/exception.o obj/core/file.o obj/core/lexer.o obj/core/log.o 
obj/core/parsers.o obj/core/reflect.o obj/core/serialization.o 
obj/core/settings.o obj/core/socket.o obj/core/string.o obj/core/system.o 
obj/core/thread.o obj/core/module.o obj/core/iso_lang.o 
obj/server/buffer.o obj/server/directory.o obj/server/input.o 
obj/server/output.o obj/server/channel.o obj/server/request.o 
obj/server/admin.o obj/server/broadcast.o obj/server/manager.o 
obj/server/program.o obj/server/telnet.o obj/server/nativeadmin.o 
obj/server/tsstreamer.o obj/server/vls.o obj/server/daemon.o obj/mpeg/ts.o 
obj/mpeg/rtp.o obj/mpeg/streamdescr.o obj/mpeg/reader.o 
obj/mpeg/converter.o obj/mpeg/dvbpsi.o obj/mpeg/tsdemux.o obj/mpeg/tsmux.o 
obj/filechannel.a obj/netchannel.a obj/filereader.a obj/ts2ts.a 
obj/ps2ts.a obj/localinput.a obj/videoinput.a -ldl -lcrypt -lpthread 
-ldvbpsi $FILECHANNEL_LIB $NETCHANNEL_LIB $FILEREADER_LIB $TS2TS_LIB 
$PS2TS_LIB $LOCALINPUT_LIB $VIDEOINPUT_LIB
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: 
cannot find -ldvbpsi
collect2: ld returned 1 exit status
make: *** [vls] Error 1


Here are the dvpsi headerfiles:

marrem at dubhead:~$ ls /opt/dvb/include/dvbpsi/
demux.h       dr_02.h  dr_05.h  dr_08.h  dr_0b.h  dr_0e.h  dr_47.h 
dvbpsi.h  psi.h
descriptor.h  dr_03.h  dr_06.h  dr_09.h  dr_0c.h  dr_0f.h  dr_48.h  pat.h 
sdt.h
dr.h          dr_04.h  dr_07.h  dr_0a.h  dr_0d.h  dr_42.h  dr_59.h  pmt.h


Here are the dvpsi libraries:

marrem at dubhead:~$ ls /opt/dvb/lib
libdvb.a     libdvbpsi.la*  libdvbpsi.so.3@      lnb.d
libdvbpsi.a  libdvbpsi.so@  libdvbpsi.so.3.0.0*  lnb.o


This is how I configured vls:

./configure --disable-dvd --prefix=/opt/dvb --with-dvb=/opt/dvb 
--with-libdvb=/opt/dvb --with-dvbpsi=/opt/dvb


This is the contents of /etc/ld.so.conf:

/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/opt/dvb/lib
/usr/lib/qt/lib

ldconfig can find it:

root at dubhead:/usr/src/vls-0.5.6# ldconfig -v | grep dvb
/opt/dvb/lib:
         libdvbpsi.so.3 -> libdvbpsi.so.3.0.0


So I'm lost now. Why can't the linker find libdvbpsi?

Since the --with-dvbpsi option wants a path to both header and libraries, 
the common parent is /opt/dvb. When I  give '/opt/dvb/lib' as argument to 
the --with-dvbpsi option, configure complains it can't find the 
dvbpsi headerfiles.

Marc

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list