Subject: | Installation failure: /usr/bin/ld: cannot find -lwx_gtk2u_media-2.8 |
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.
Subject: | perl-v.txt |
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
Platform:
osname=linux, osvers=2.6.38-11-generic, archname=x86_64-linux-thread-multi
uname='linux raptor 2.6.38-11-generic #50-ubuntu smp mon sep 12 21:17:25 utc 2011 x86_64 x86_64 x86_64 gnulinux '
config_args='-de -Dprefix=/home/rando/perl5/perlbrew/perls/5.14.2-st -Dusethreads -Duseshrplib -Dlddlflags=-shared -O2 -L/home/rando/perl5/perlbrew/perls/5.14.2-st/lib/5.14.2/x86_64-linux-thread-multi/CORE'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.5.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/lib/x86_64-linux-gnu /lib64 /usr/lib64
libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.13'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/home/rando/perl5/perlbrew/perls/5.14.2-st/lib/5.14.2/x86_64-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/home/rando/perl5/perlbrew/perls/5.14.2-st/lib/5.14.2/x86_64-linux-thread-multi/CORE -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Built under linux
Compiled at Sep 28 2011 07:04:42
%ENV:
PERLBREW_BASHRC_VERSION="0.42"
PERLBREW_HOME="/home/rando/.perlbrew"
PERLBREW_PATH="/home/rando/perl5/perlbrew/bin:/home/rando/perl5/perlbrew/perls/5.14.2-st/bin"
PERLBREW_PERL="5.14.2-st"
PERLBREW_ROOT="/home/rando/perl5/perlbrew"
PERLBREW_VERSION="0.28"
PERL_CPANM_OPT="--save-dists /home/rando/perl5/cpan/mini --mirror http://cpan.local:4999/CPAN/ --mirror http://cpan.ezarticleinformation.com/ --mirror http://search.cpan.org/CPAN/"
@INC:
/home/rando/perl5/perlbrew/perls/5.14.2-st/lib/site_perl/5.14.2/x86_64-linux-thread-multi
/home/rando/perl5/perlbrew/perls/5.14.2-st/lib/site_perl/5.14.2
/home/rando/perl5/perlbrew/perls/5.14.2-st/lib/5.14.2/x86_64-linux-thread-multi
/home/rando/perl5/perlbrew/perls/5.14.2-st/lib/5.14.2
.
Subject: | cpan-wx.txt |
Message body is not shown because it is too large.