Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15191 - [panda3d] python doesn't find panda3d shared libraries

Attached to Project: Community Packages
Opened by Ian (zerathidune) - Saturday, 20 June 2009, 23:15 GMT
Last edited by Imanol Celaya (ornitorrincos) - Tuesday, 23 June 2009, 13:21 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Imanol Celaya (ornitorrincos)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

python doesn't find panda3d shared libraries. when attempting to run a simple:

import direct.directbase.DirectStart
run()

I get the message:

DirectStart: Starting the game.
Traceback (most recent call last):
File "hello.py", line 1, in <module>
import direct.directbase.DirectStart
File "/opt/panda3d/direct/src/directbase/DirectStart.py", line 3, in <module>
from direct.showbase import ShowBase
File "/opt/panda3d/direct/src/showbase/ShowBase.py", line 10, in <module>
from pandac.PandaModules import *
File "/opt/panda3d/pandac/PandaModules.py", line 1, in <module>
from libpandaexpressModules import *
File "/opt/panda3d/pandac/libpandaexpressModules.py", line 1, in <module>
from extension_native_helpers import *
File "/opt/panda3d/pandac/extension_native_helpers.py", line 75, in <module>
Dtool_PreloadDLL("libpandaexpress")
File "/opt/panda3d/pandac/extension_native_helpers.py", line 73, in Dtool_PreloadDLL
imp.load_dynamic(module, pathname)
ImportError: libp3dtool.so: cannot open shared object file: No such file or directory

running the file with LD_LIBRARY_PATH=/opt/panda3d/lib gets it to work.

This may affect i686 too, I don't know.

using 1.6.2-1
This task depends upon

Closed by  Imanol Celaya (ornitorrincos)
Tuesday, 23 June 2009, 13:21 GMT
Reason for closing:  Not a bug
Comment by Imanol Celaya (ornitorrincos) - Sunday, 21 June 2009, 15:17 GMT
do you run source /etc/profile.d/panda3d.sh before running the script?
Comment by Ian (zerathidune) - Sunday, 21 June 2009, 21:40 GMT
that did the trick, my apologies, I should have thought of that.

Loading...