ppremake errors

I am using ppremake method. No errors till this point.
after i made ppremake i did this:
cd /home/me/panda3d/dtool
ppremake
make
make install
no errors then i do this:
cd /home/me/panda3d/panda
ppremake
make

and this is what happens:

me@rix:~/panda3d/panda$ make
cd ./src/pandabase && make all
make[1]: Entering directory /home/me/panda3d/panda/src/pandabase' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /home/me/panda3d/panda/src/pandabase' cd ./src/express && make all make[1]: Entering directory/home/me/panda3d/panda/src/express’
interrogate -od Opt3-Linux/libexpress.in -oc Opt3-Linux/libexpress_igate.cxx -DCPPPARSER -D__STDC__=1 -D__cplusplus -D_LP64 -S/usr/local/panda/include/parser-inc -I/home/me/panda3d/panda -I…/pandabase -I/usr/local/panda/include -I/usr/include/python2.5 -fnames -string -refcount -assert -python-native -module “pandaexpress” -library “libexpress” buffer.h checksumHashGenerator.h circBuffer.h config_express.h datagram.h datagramGenerator.h datagramIterator.h datagramSink.h dcast.h encrypt_string.h error_utils.h export_dtool.h hashGeneratorBase.h hashVal.h indirectLess.h memoryInfo.h memoryUsage.h memoryUsagePointerCounts.h memoryUsagePointers.h multifile.h namable.h nodePointerToBase.h nodePointerTo.h nodeReferenceCount.h ordered_vector.h password_hash.h patchfile.h pointerTo.h pointerToArray.h pointerToArrayBase.h pointerToBase.h pointerToVoid.h profileTimer.h pStatCollectorForwardBase.h pta_uchar.h pta_float.h ramfile.h referenceCount.h stringDecoder.h subStream.h subStreamBuf.h textEncoder.h threadSafePointerTo.h threadSafePointerToBase.h trueClock.h typedReferenceCount.h typedef.h unicodeLatinMap.h vector_uchar.h vector_float.h virtualFileComposite.h virtualFile.h virtualFileList.h virtualFileMount.h virtualFileMountMultifile.h virtualFileMountSystem.h virtualFileSimple.h virtualFileSystem.h weakPointerCallback.h weakPointerTo.h weakPointerToBase.h weakPointerToVoid.h weakReferenceList.h windowsRegistry.h zStream.h zStreamBuf.h express_composite1.cxx express_composite2.cxx
interrogate: error while loading shared libraries: libpystub.so: cannot open shared object file: No such file or directory
make[1]: *** [Opt3-Linux/libexpress_igate.cxx] Error 127
make[1]: Leaving directory `/home/me/panda3d/panda/src/express’
make: *** [express] Error 2

where does lib py stub get generated in ppremake ecosystem? Using ubuntu64, note: i been driven to use ppremake because some one borke makepanda for quite a while now and i want to finish integrating my pyro system.

libpystub.so is part of dtool; it should have been built and installed into /usr/local/panda/lib (or wherever) when you built dtool. Do you see this file there?

David

yes i do

me@rix:/usr/local/panda/lib$ ls
direct          libdconfig.so     libdtoolbase.so    libdtool.so      libinterrogatedb.so  libprc.so
libcppParser.a  libdirectbase.so  libdtoolconfig.so  libdtoolutil.so  libpandabase.so      libpystub.so

what determines where it should be looking?

It should have put a -L/usr/local/panda/lib on the link line.

Hmm, perhaps you need to add /usr/local/panda/lib to your LD_LIBRARY_PATH variable?

David