pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

scons: cofigure doesn't find a lib that is buildlinked



Please take a look at wip/py-cantera - a work in progress.

config.log shows:

g++ -o .sconf_temp/conftest_ce2dd1e38acb22ad88224c4d2c5f1d43_0.o -c -std=c++17 -pthread -O3 -Wno-inline -g -DNDEBUG .sconf_temp/conftest_ce2dd1e38acb22ad88224c4d2c5f1d43_0.cpp
g++ -o .sconf_temp/conftest_ce2dd1e38acb22ad88224c4d2c5f1d43_0_2dc3b2384d6322682aff0357945a09da -pthread .sconf_temp/conftest_ce2dd1e38acb22ad88224c4d2c5f1d43_0.o -lgomp -lsundials_core
/usr/bin/ld: cannot find -lsundials_core
collect2: error: ld returned 1 exit status


However the buildlink for this exists:

#ls ../.buildlink/lib/libsundials_core.*
../.buildlink/lib/libsundials_core.a                 ../.buildlink/lib/libsundials_core.so.7
../.buildlink/lib/libsundials_core.so                ../.buildlink/lib/libsundials_core.so.7.1.1

This is scons based build, so I expect some environment passing issue or
something. (Already fixed one such issue by passing whole environment - as
discussed on the thread "scons error for a new wip package")


-- 
Mayuresh


Home | Main Index | Thread Index | Old Index