>I've installed mjpegtools from cvs. Trying to build y4mscaler, which
>fails here:
>
>g++ -DYS_VERSION_MAJOR=0 -DYS_VERSION_MINOR=7 -DYS_VERSION_PATCH=0 -O2
>-march=athlon-xp -m3dnow -msse -mfpmath=sse -I/usr/include/mjpegtools
>-I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -Wall
>-W -c -o ysScaling.o ysScaling.C
>g++ -o y4mscaler graphics.o ysStreamInfo.o ysSource.o ysTarget.o
>ysScaling.o y4mscaler.o scaler-matto.o kernels.o -L/usr/lib -static
>-lmjpegutils -lm
>/usr/bin/ld: cannot find -lmjpegutils
>collect2: ld returned 1 exit status
>
>
>But:
>
>ldconfig -v | grep mjpegutils
> libmjpegutils-1.6.so.0 -> libmjpegutils.so
>
>locate libmjpegutils.so
>/usr/lib/libmjpegutils.so
>
>ld -v
>GNU ld version 2.15.90.0.3 20040415
>
>
>Any ideas?
Hi,
I had a similar problem when I, too, first built y4mscaler after
libmjpegutils became a shared library. Trying to remember...
I think that "/usr/local/lib/libmjpegutils.so" was a symlink to
something non-existent, or to libmjpegutils-1.6.so.0, and I deleted
it and re-ran ldconfig, and then everything was peachy.
At the time, I assumed it was some defect in how the newly "share-ified"
libmjpegutils.so was being installed, and it worked after that, so I
forgot about it.
My current state (in /usr/local/lib/) :
libmjpegutils.so -> libmjpegutils-1.6.so.0.3.3*
libmjpegutils-1.6.so.0 -> libmjpegutils-1.6.so.0.3.3*
libmjpegutils-1.6.so.0.3.3* is a 99637-byte file
-matt m.
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users