Subject: pkg/27133: transcode can't load the export_mpeg module
To: None <gnats-bugs@gnats.NetBSD.org>
From: Simon Burge <simonb@wasabisystems.com>
List: pkgsrc-bugs
Date: 10/04/2004 15:16:58
>Number:         27133
>Category:       pkg
>Synopsis:       transcode can't load the export_mpeg module
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 04 05:18:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 2.0_BETA, pkgsrc from 4 Oct 2004.
>Organization:
Wasabi Systems
>Environment:
System: NetBSD thoreau 2.0_BETA NetBSD 2.0_BETA (THOREAU)
	#10: Sat Sep 18 17:38:45 EST 2004
	simonb@:/usr/obj/sys/arch/i386/compile/THOREAU i386
Architecture: i386
Machine: i386
>Description:
        Transcode can't load the export_mpeg module.  Trying to run
        transcode gives output like:

[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
[import_mplayer.so] v0.0.5 (2003-03-10) (video) rendered by mplayer | (audio) rendered by mplayer
[transcode] warning : Cannot open "/usr/pkg/lib/transcode/export_mpeg.so"
[transcode] warning : (dl_loader.c) loading "/usr/pkg/lib/transcode/export_mpeg.so" failed
[transcode] warning : (encoder.c) loading audio export module failed
[transcode] warning : failed to init export modules
[transcode] critical: plug-in initialization failed

        There are many files in /usr/pkg/lib/transcode that have both
        a .so and .la, but also quite a number that just have the .la
        file.  Compare export_mpeg:

thoreau 38> ls -l /usr/pkg/lib/transcode/export_mpeg.*
-rw-r--r--  1 root  wheel  7065078 Oct  4 09:17 /usr/pkg/lib/transcode/export_mpeg.a
-rwxr-xr-x  1 root  wheel      866 Oct  4 09:17 /usr/pkg/lib/transcode/export_mpeg.la*

	with export_mp2enc:

thoreau 41> ls -l /usr/pkg/lib/transcode/export_mp2enc.*
-rwxr-xr-x  1 root  wheel   916 Oct  4 09:17 /usr/pkg/lib/transcode/export_mp2enc.la*
-rwxr-xr-x  1 root  wheel  7993 Oct  4 09:17 /usr/pkg/lib/transcode/export_mp2enc.so*

>How-To-Repeat:
        This is how I discovered the problem:

transcode -i barry-white.avi  -V -x mplayer -y mpeg -F s,3,template -Z 480x -Y -,0,-,0 --export_asr 2 -E 44100 -b 160 -o foo

>Fix:
	None given.  Some sort of libtool lossage?
>Release-Note:
>Audit-Trail:
>Unformatted: