[vlc-devel] contribs issues in Linux 64 bits architecture

Gilles Sabourin gilles.sabourin at free.fr
Tue May 27 17:31:20 CEST 2014


Hello JB,


As previously mentioned, the build system using contribs fails to achieve 
its task in Linux 64 bits architecture. First, it stops when finising installation 
of sidplay library:

[...]
----------------------------------------------------------------------
*Libraries have been installed in*:
   /usr/src/packages/BUILD/vlc-beta-2.2.0/contrib/x86_64-suse-
linux/*lib64*/sidplay/builders

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs/builders/hardsid-builder/src'
make[4]: Leaving directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs/builders/hardsid-builder/src'
make[4]: Entering directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs/builders/hardsid-builder'
make[5]: Entering directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs/builders/hardsid-builder'
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs/builders/hardsid-builder'
make[4]: Leaving directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs/builders/hardsid-builder'
make[3]: Leaving directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs/builders/hardsid-builder'
make[3]: Entering directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs/builders'
make[4]: Entering directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs/builders'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs/builders'
make[3]: Leaving directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs/builders'
make[2]: Leaving directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs/builders'
make[2]: Entering directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs'
make[3]: Entering directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs'
make[2]: Leaving directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs'
make[1]: Leaving directory `/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/native/sidplay-libs'
cp -- /usr/src/packages/BUILD/vlc-beta-2.2.0/contrib/x86_64-suse-
linux/lib/sidplay/builders/* "/usr/src/packages/BUILD/vlc-
beta-2.2.0/contrib/x86_64-suse-linux/lib/"
*cp: cannot stat* ‘/usr/src/packages/BUILD/vlc-beta-2.2.0/contrib/x86_64-
suse-linux/*lib*/sidplay/builders/*’: No such file or directory
make: *** [.sidplay2] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.HpdA1L (%build)


/Indeed, there is no $(HOST)/lib/sidplay/builders as stated by the cp 
command from rules.mak but rather a $(HOST)/lib*64*/sidplay/builders 
directory. Having a closer look, I get these libraries in $(HOST)/lib :/
libBasicUsageEnvironment.a
libUsageEnvironment.a
libavcodec.a
libavformat.a
libavutil.a
libchromaprint.a
libebml.a
libgme.a
libgroupsock.a
libgsm.a
libliveMedia.a
liblua.a
libmatroska.a
libmpcdec.a
libswscale.a
libvpx.a
lua
pkgconfig

/And these libs in $(HOST)/lib64 :/
gettext
libSDL_image.a
libSDL_image.la
liba52.a                                                                                                                                                                                         
liba52.la                                                                                                                                                                                        
libasprintf.a                                                                                                                                                                                    
libasprintf.la                                                                                                                                                                                   
libdvdcss.a                                                                                                                                                                                      
libdvdcss.la                                                                                                                                                                                     
libdvdnav.a                                                                                                                                                                                      
libdvdnav.la                                                                                                                                                                                     
libdvdread.a                                                                                                                                                                                     
libdvdread.la                                                                                                                                                                                    
libfaad.a                                                                                                                                                                                        
libfaad.la                                                                                                                                                                                       
libgcrypt.a                                                                                                                                                                                      
libgcrypt.la                                                                                                                                                                                     
libgettextsrc.la                                                                                                                                                                                 
libgoom2.a                                                                                                                                                                                       
libgoom2.la                                                                                                                                                                                      
libgpg-error.a                                                                                                                                                                                   
libgpg-error.la                                                                                                                                                                                  
libjpeg.a                                                                                                                                                                                        
libjpeg.la                                                                                                                                                                                       
libmad.a                                                                                                                                                                                         
libmad.la                                                                                                                                                                                        
libmodplug.a                                                                                                                                                                                     
libmodplug.la                                                                                                                                                                                    
libmp3lame.a                                                                                                                                                                                     
libmp3lame.la                                                                                                                                                                                    
libopenjpeg.a
libopenjpeg.la
libsidplay2.a
libsidplay2.la
libtiff.a
libtiff.la
pkgconfig
sidplay

/Same issue for pkg-config directory. In $(HOST)/lib/pkgconfig:/
libavcodec.pc
libavformat.pc
libavutil.pc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140527/12081c39/attachment.html>


More information about the vlc-devel mailing list