Ok, after doing some reading on how rpmbuild works I got it to generate the RPM. I substituted the command that was being used
rpmbuild --define '_rpmdir /home/scuac/Download/panda3d-1.6.2' -bb panda3d.spec
with
rpmbuild --root /home/scuac/panda3d-1.6.2 --buildroot linuxroot -bb panda3d.spec
this generated the file
/home/scuac/rpmbuild/RPMS/x86_64/panda3d-1.6.2-1.x86_64.rpm
which is roughly 37MB in size
I then installed the RPM with no error message. The problem now is that when I try to execute a simple sample it crashes.
The sample file is test.py which contains
import direct.directbase.DirectStart
run()
and the error I get is
$ python test.py
DirectStart: Starting the game.
Traceback (most recent call last):
File "test1.py", line 1, in <module>
import direct.directbase.DirectStart
File "/usr/share/panda3d/direct/directbase/DirectStart.py", line 3, in <module>
from direct.showbase import ShowBase
File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 10, in <module>
from pandac.PandaModules import *
File "/usr/share/panda3d/pandac/PandaModules.py", line 1, in <module>
from libpandaexpressModules import *
File "/usr/share/panda3d/pandac/libpandaexpressModules.py", line 1, in <module>
from extension_native_helpers import *
File "/usr/share/panda3d/pandac/extension_native_helpers.py", line 75, in <module>
Dtool_PreloadDLL("libpandaexpress")
File "/usr/share/panda3d/pandac/extension_native_helpers.py", line 69, in Dtool_PreloadDLL
raise ImportError, message
ImportError: DLL loader cannot find libpandaexpress.
Is this related to a malformed RPM or is something else going on here?