develooper Front page | perl.wxperl.users | Postings from April 2012

[rt.cpan.org #76599] Installation failure: /usr/bin/ld: cannot find -lwx_gtk2u_media-2.8

From:
Randy Stauner via RT
Date:
April 16, 2012 07:36
Subject:
[rt.cpan.org #76599] Installation failure: /usr/bin/ld: cannot find -lwx_gtk2u_media-2.8
Message ID:
rt-3.8.HEAD-30922-1334586975-724.76599-15-0@rt.cpan.org
Mon Apr 16 10:36:15 2012: Request 76599 was acted upon.
Transaction: Ticket created by RWSTAUNER
       Queue: Wx
     Subject: Installation failure: /usr/bin/ld: cannot find -lwx_gtk2u_media-2.8
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: RWSTAUNER@cpan.org
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=76599 >


I have Wx 0.9905 installed on a perlbrew'ed 5.14.2

Attempting to upgrade to 0.9906 fails to compile because it's missing a
library:


LD_RUN_PATH="/usr/lib:/home/rando/perl5/perlbrew/perls/5.14.2-st/lib/site_perl/5.14.2/x86_64-linux-thread-multi/Alien/wxWidgets/gtk_2_8_12
_uni/lib" g++ -shared -fPIC    -shared -O2
-L/home/rando/perl5/perlbrew/perls/5.14.2-st/lib/5.14.2/x86_64-linux-thread-multi/CORE
-L/usr/l
ocal/lib -fstack-protector Media.o  -o
../../blib/arch/auto/Wx/Media/Media.so   \
          
-L/home/rando/perl5/perlbrew/perls/5.14.2-st/lib/site_perl/5.14.2/x86_64-linux-thread-multi/Alien/wxWidgets/gtk_2_8_12_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/rando/.cpan/build/Wx-0.9906-M8FeyH/ext/media'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/rando/.cpan/build/Wx-0.9906-M8FeyH/ext'
make: *** [subdirs] Error 2
(/usr/bin/make exited with 512)


I checked Alien::wxWidgets but it was already the latest version.
Manually reinstalling didn't help.

I searched around in aptitude and found and installed
libwxgtk2.8-dev (which included wx2.8-headers and libwxbase2.8-dev)
which seemed to do the trick.

The only other thing I can think to note is that I did upgrade my ubuntu
from 11.04 to 11.10 recently
(after Wx 0.9905 was installed), so I don't know if that might have
affected what packages were installed.




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About