Matto Marjanovic wrote:
...............................
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
>
ls -l /usr/lib/libmjpegut*
lrwxr-xr-x 1 root root 26 Apr 30 14:27 /usr/lib/libmjpegutils-1.6.so.0 -> libmjpegutils-1.6.so.0.3.3
-rwxr-xr-x 1 root root 32581 Apr 29 22:58 /usr/lib/libmjpegutils-1.6.so.0.3.3
lrwxr-xr-x 1 root root 26 Apr 30 14:28 /usr/lib/libmjpegutils.so -> libmjpegutils-1.6.so.0.3.3



99637 versus 32581 ?

So I deleted libmjpegutils.so, relinked it, and ran ldconfig. That seemed alright:

ls -l /usr/lib/libmjpegut*
lrwxr-xr-x 1 root root 26 Apr 30 14:27 /usr/lib/libmjpegutils-1.6.so.0 -> libmjpegutils-1.6.so.0.3.3
-rwxr-xr-x 1 root root 32581 Apr 29 22:58 /usr/lib/libmjpegutils-1.6.so.0.3.3
lrwxr-xr-x 1 root root 35 May 16 21:26 /usr/lib/libmjpegutils.so -> /usr/lib/libmjpegutils-1.6.so.0.3.3


BUT, it didn't work correctly:

ldconfig -v | grep mjpegutil
        libmjpegutils-1.6.so.0 -> libmjpegutils.so

So I rebuilt mjpegtools with static libraries. y4mscaler then built.

Odd.

And FWIW, my libmjpegtools from today's cvs is 50% the size of yours:

31999 May 16 22:13 /usr/lib/libmjpegutils-1.6.so.0.3.3

sean





-------------------------------------------------------
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

Reply via email to