error compiling code using gst-rtsp-server
mrjojan
prostoars at mail.ru
Wed May 15 06:58:37 PDT 2013
Hello,
I`m trying to make a simple c program using gstreamer rtsp server.
For example i use the gst-rtsp-server/example/test-video.c file .
I use this gcc command to compile test-video.c to an object file.
gcc -I/usr/include/libxml2 -I/usr/include/glib-2.0
-I/usr/include/gstreamer-1.0 -I/usr/lib/arm-linux gnueabi/glib-2.0/include
-O0 -g3 -Wall -c -o"test-video.o" "test-video.c" `pkg-config --cflags --libs
gstreamer-1.0`
Next, use the following gcc command line to name the output executable rtsp
and link the object file to the necessary libraries`
gcc -o"rtsp" ./test-video.o -L/opt/gstreamer/lib -lgstrtspserver-1.0
-lgstreamer-1.0 -lglib-2.0
My gstreamer is in /opt.
when i run the programm, i have an error like this.
./rtsp: error while loading shared libraries: libgstrtspserver-1.0.so.0:
cannot open shared object file: No such file or directory
What can i do to resolve this problem?
regards
-mrjojan
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/error-compiling-code-using-gst-rtsp-server-tp4659944.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list