[MacPorts] #18326: texlive_base: library not found -lSM

MacPorts noreply at macports.org
Sun Feb 8 12:43:37 PST 2009


#18326: texlive_base: library not found -lSM
---------------------------------+------------------------------------------
 Reporter:  milosh@…             |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:  Port Bugs                            
Component:  ports                |     Version:  1.7.0                                
 Keywords:  texlive_base lSM     |        Port:  texlive_base xorgs-lsm               
---------------------------------+------------------------------------------

Comment(by evan@…):

 I am experiencing this issue too. The odd thing is that libsm is
 installed. The error text I get is:

 {{{
 --->  Building texlive_base
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007"
 && make all " returned error 2
 Command output: make[2]: Making `all' in `uconv'
 DYLD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$DYLD_LIBRARY_PATH
 ../../bin/pkgdata -p uconvmsg -O pkgdata.inc -m static -s uconvmsg -d
 uconvmsg -T uconvmsg uconvmsg/uconvmsg.lst
 gnumake[4]: Nothing to be done for `all'.
 make[3]: Nothing to be done for `all-local'.
 make[1]: Making `all' in `samples'
 make[2]: Making `all' in `date'
 make[3]: Nothing to be done for `all'.
 make[2]: Making `all' in `cal'
 make[3]: Nothing to be done for `all'.
 make[3]: Nothing to be done for `all-local'.
 make[1]: Making `all' in `test'
 make[2]: Nothing to be done for `all'.
 make[2]: Nothing to be done for `all-local'.
 making all in libs/freetype
 cd lib; make -f arch/unix/Makefile all
 rm -f memory.c file.c mutex.c
 ln -s
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/lib/arch/unix/../../ttmemory.c
 memory.c
 ln -s
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/lib/arch/unix/../../arch/unix/ttmmap.c
 file.c
 ln -s
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/lib/arch/unix/../../ttmutex.c
 mutex.c
 make -f arch/unix/Makefile LIB_FILES="freetype.lo ftxkern.lo ftxgasp.lo
 ftxpost.lo ftxcmap.lo ftxsbit.lo ftxwidth.lo ftxerr18.lo ftxgsub.lo
 ftxgpos.lo ftxgdef.lo ftxopen.lo" libttf.la
 make[3]: `libttf.la' is up to date.
 cd test; make -f arch/unix/Makefile all
 ../libtool --mode=link  /usr/bin/gcc-4.0 -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/test/arch/unix/../..
 -I..
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/test/arch/unix/../../../lib
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/test/arch/unix/../../../lib/extend
 -O2   -isystem/opt/local/include -DX11 -DLOCALEDIR='""' -o ftdump ftdump.o
 common.o \
            ../lib/libttf.la -lSM -lICE  -lm
 /usr/bin/gcc-4.0 -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/test/arch/unix/../..
 -I..
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/test/arch/unix/../../../lib
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007/libs/freetype/test/arch/unix/../../../lib/extend
 -O2 -isystem/opt/local/include -DX11 -DLOCALEDIR=\"\" -o ftdump ftdump.o
 common.o ../lib/.libs/libttf.a -lm -lSM -lICE -lm
 ld: library not found for -lSM
 collect2: ld returned 1 exit status
 make[2]: *** [ftdump] Error 1
 make[1]: *** [tttest] Error 2
 make: *** [all] Error 1

 Error: The following dependencies failed to build: texlive_base
 Error: Status 1 encountered during processing.
 }}}

 And yet I have on this machine:
 {{{
 tianyi-suns-macbook-pro-15:Resume tianyi$ find /opt -name 'libSM*'
 /opt/local/lib/libSM.6.0.0.dylib
 /opt/local/lib/libSM.6.dylib
 /opt/local/lib/libSM.a
 /opt/local/lib/libSM.dylib
 /opt/local/lib/libSM.la
 /opt/local/var/macports/distfiles/xorg-libsm/libSM-1.1.0.tar.bz2
 /opt/local/var/macports/software/xorg-
 libsm/1.1.0_0/opt/local/lib/libSM.6.0.0.dylib
 /opt/local/var/macports/software/xorg-
 libsm/1.1.0_0/opt/local/lib/libSM.6.dylib
 /opt/local/var/macports/software/xorg-libsm/1.1.0_0/opt/local/lib/libSM.a
 /opt/local/var/macports/software/xorg-
 libsm/1.1.0_0/opt/local/lib/libSM.dylib
 /opt/local/var/macports/software/xorg-libsm/1.1.0_0/opt/local/lib/libSM.la
 }}}

 This computer is Intel architecture, OS X 10.5.6.

-- 
Ticket URL: <http://trac.macports.org/ticket/18326#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list