Opened 15 years ago

Last modified 15 years ago

#20151 closed defect

swi-prolog does not search $prefix/lib for libraries — at Version 1

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: J.Wielemaker@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: pmoura (Paulo Moura)
Port: swi-prolog

Description (last modified by jeremyhu (Jeremy Huddleston Sequoia))

****************
Making SWI-Prolog 5.6.63 for powerpc-darwin9.8.0
To be installed in /opt/local/bin/swipl
Home (libraries) in /opt/local/lib/swipl-5.6.63
****************
No GIT version change
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
rm -f ../lib/powerpc-darwin9.8.0/libpl.a
ar r ../lib/powerpc-darwin9.8.0/libpl.a pl-atom.o pl-wam.o pl-stream.o pl-error.o pl-arith.o pl-bag.o pl-comp.o pl-rc.o pl-dwim.o pl-ext.o pl-file.o pl-flag.o pl-fmt.o pl-funct.o pl-gc.o pl-glob.o pl-itf.o pl-list.o pl-load.o pl-modul.o pl-op.o pl-os.o pl-prims.o pl-pro.o pl-proc.o pl-prof.o pl-read.o pl-rec.o pl-rl.o pl-setup.o pl-sys.o pl-table.o pl-trace.o pl-util.o pl-wic.o pl-write.o pl-term.o pl-buffer.o pl-thread.o pl-xterm.o pl-feature.o pl-ctype.o pl-beos.o pl-attvar.o pl-gvar.o pl-btree.o pl-utf8.o pl-main.o pl-text.o pl-gmp.o pl-tai.o pl-segstack.o pl-hash.o pl-version.o pl-codetable.o rc/access.o rc/build.o rc/html.o rc/util.o libtai/caltime_utc.o libtai/caltime_tai.o libtai/leapsecs_sub.o libtai/leapsecs_add.o libtai/caldate_fmjd.o libtai/caldate_mjd.o libtai/leapsecs_init.o libtai/leapsecs_read.o libtai/tai_pack.o libtai/tai_unpack.o 
ar: creating archive ../lib/powerpc-darwin9.8.0/libpl.a
ranlib: file: ../lib/powerpc-darwin9.8.0/libpl.a(pl-beos.o) has no symbols
ranlib ../lib/powerpc-darwin9.8.0/libpl.a
ranlib: file: ../lib/powerpc-darwin9.8.0/libpl.a(pl-beos.o) has no symbols
/usr/bin/gcc-4.0 -dynamiclib -current_version 5.6.63 \
                        -install_name /opt/local/lib/swipl-5.6.63/lib/powerpc-darwin9.8.0/libpl.dylib \
                        -O3 -fno-strict-aliasing -o ../lib/powerpc-darwin9.8.0/libpl.dylib \
                        pl-atom.o pl-wam.o pl-stream.o pl-error.o pl-arith.o pl-bag.o pl-comp.o pl-rc.o pl-dwim.o pl-ext.o pl-file.o pl-flag.o pl-fmt.o pl-funct.o pl-gc.o pl-glob.o pl-itf.o pl-list.o pl-load.o pl-modul.o pl-op.o pl-os.o pl-prims.o pl-pro.o pl-proc.o pl-prof.o pl-read.o pl-rec.o pl-rl.o pl-setup.o pl-sys.o pl-table.o pl-trace.o pl-util.o pl-wic.o pl-write.o pl-term.o pl-buffer.o pl-thread.o pl-xterm.o pl-feature.o pl-ctype.o pl-beos.o pl-attvar.o pl-gvar.o pl-btree.o pl-utf8.o pl-main.o pl-text.o pl-gmp.o pl-tai.o pl-segstack.o pl-hash.o pl-version.o pl-codetable.o rc/access.o rc/build.o rc/html.o rc/util.o libtai/caltime_utc.o libtai/caltime_tai.o libtai/leapsecs_sub.o libtai/leapsecs_add.o libtai/caldate_fmjd.o libtai/caldate_mjd.o libtai/leapsecs_init.o libtai/leapsecs_read.o libtai/tai_pack.o libtai/tai_unpack.o  -O3  -lgmp -lreadline -lncursesw -lm -lpthread -ldl  /opt/local/lib/libreadline.dylib
ld: library not found for -lgmp
collect2: ld returned 1 exit status
make[1]: *** [../lib/powerpc-darwin9.8.0/libpl.dylib] Error 1
make: *** [lite] Error 2

(09:10:29 Fri Jul 03 2009 jeremy@yuffie Power Macintosh)
~/src/macports-trunk/dports/lang/swi-prolog/work/pl-5.6.63 $ ls /opt/local/lib/libgmp*
/opt/local/lib/libgmp.3.5.0.dylib  /opt/local/lib/libgmp.a      /opt/local/lib/libgmp.la             /opt/local/lib/libgmpxx.4.dylib  /opt/local/lib/libgmpxx.dylib
/opt/local/lib/libgmp.3.dylib      /opt/local/lib/libgmp.dylib  /opt/local/lib/libgmpxx.4.1.0.dylib  /opt/local/lib/libgmpxx.a        /opt/local/lib/libgmpxx.la

Change History (1)

comment:1 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Description: modified (diff)
Note: See TracTickets for help on using tickets.