Opened 16 years ago
Closed 15 years ago
#18326 closed defect (fixed)
texlive_base: library not found -lSM
Reported by: | milosh@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | texlive_base lSM | Cc: | normanmacintyre@…, evan@…, daniel@…, yokota33@… |
Port: | texlive_base xorgs-lsm |
Description
Reported by Norman MacIntyre
The port texlive_base does not build correctly on a PPC running OS X 10.5.6.
/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
Note: this seems similar to bug #18206.
Attachments (1)
Change History (8)
comment:1 Changed 16 years ago by evan@…
comment:2 Changed 16 years ago by evan@…
I don't have the computer with me so I can't give you better details, but I ended up hacking this to get it working, and just thought I'd share what it was that I did. It turns out that the Makefile under work/texlive_base-2007/libs/freetype
wasn't searching in /opt/local/lib
so I hacked that Makefile to do -L/opt/local/lib
, and from there I was able to build and install this port. I guess whoever fixes this probably needs to patch the code to have libs/freetype
respect the library settings set further up in the texlive source code, but I'm not really familiar with how all that works.
Changed 16 years ago by yokota33@…
Attachment: | patch-Portfile.diff added |
---|
This patch solves the problem, by adding search path for X explicitly
comment:7 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Was fixed in r50543.
I am experiencing this issue too. The odd thing is that libsm is installed. The error text I get is:
And yet I have on this machine:
This computer is Intel architecture, OS X 10.5.6.