Eric J. Roode wrote:
Hello all,

    I am attempting to install WxPerl on a new Ubuntu 10.04 (32-bit,
desktop) system.  All of the prerequisite packages (including
Alien::wxWidgets) install fine, but the Wx package itself gets this
link error:

LD_RUN_PATH="/lib:/usr/lib:/usr/local/lib/perl5/site_perl/5.12.1/i686-linux/Alien/wxWidgets/gtk_2_8_10_uni/lib"
 g++ -shared -fPIC    -shared -O2 -L/usr/local/lib -fstack-protector Media.o  -o 
../../blib/arch/auto/Wx/Media/Media.so        \
           
-L/usr/local/lib/perl5/site_perl/5.12.1/i686-linux/Alien/wxWidgets/gtk_2_8_10_uni/lib
 -lpthread -lwx_gtk2u_media-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu-2.8      \
        
/usr/bin/ld: cannot find -lwx_gtk2u_media-2.8
collect2: ld returned 1 exit status
make[2]: *** [../../blib/arch/auto/Wx/Media/Media.so] Error 1
make[2]: Leaving directory `/home/eric/.cpan/build/Wx-0.9702-f71nHX/ext/media'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/eric/.cpan/build/Wx-0.9702-f71nHX/ext'
make: *** [subdirs] Error 2
  MBARBON/Wx-0.9702.tar.gz
  /usr/bin/make -- NOT OK

When I look for the library, it is there in /usr/lib:

e...@crimson:~$ locate wx_gtk2u_media-2.8
/usr/lib/libwx_gtk2u_media-2.8.so.0
/usr/lib/libwx_gtk2u_media-2.8.so.0.6.0


Does anyone have any suggestions for getting past this error?  TIA.

You are missing the symlink from .so.0 to .so, which should be created by the wxWidgets -dev package. Maybe there is a separate -dev package just for the wx media libraries?

Regards,
Mattia

Reply via email to