Hi Nemesis,
The problem is the shared library then; the libsquish in community-testing compile a shared library, and the libsquish in AUR don't. I had this problem because I don't use the community-testing repository.
Search Criteria
Package Details: panda3d 1.10.14-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/panda3d.git (read-only, click to copy) |
---|---|
Package Base: | panda3d |
Description: | A 3D game engine with Python bindings. SDK package. Optional dependencies you want to support need to be installed before panda3d. |
Upstream URL: | https://www.panda3d.org |
Keywords: | engine game |
Licenses: | BSD |
Submitter: | wonder |
Maintainer: | rdb (Moguri) |
Last Packager: | Moguri |
Votes: | 44 |
Popularity: | 0.037820 |
First Submitted: | 2010-01-30 22:41 (UTC) |
Last Updated: | 2024-01-09 17:44 (UTC) |
Dependencies (37)
- assimp (assimp-gitAUR)
- desktop-file-utils (desktop-file-utils-gitAUR)
- freetype2 (freetype2-macosAUR, freetype2-gitAUR, freetype2-qdoledAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utilsAUR, libglvnd)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libtiff (libtiff-gitAUR, libtiff-lercAUR)
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR)
- libxcursor
- libxrandr (libxrandr-gitAUR)
- openal (openal-gitAUR)
- openexr (openexr-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- shared-mime-info
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- bison (byacc-bisonAUR, bison-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- flex (flex-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- bullet (bullet-gitAUR, bullet-dp) (optional) – Support for the Bullet physics engine
- eigen (eigen-gitAUR) (optional) – Optimised linear algebra library
- Show 17 more dependencies...
Required by (4)
- cosmonium-git (make)
- lui-git (make)
- python-ursina
- yorg-git
Sources (2)
renato_garcia commented on 2010-03-30 21:07 (UTC)
<deleted-account> commented on 2010-03-29 22:51 (UTC)
Hi Renato.
never faced that problem with libsquish. I use the one from community-testing.
renato_garcia commented on 2010-03-24 14:30 (UTC)
I had problems when compiling Panda3d with support to libsquish. This was because the AUR package to libsquish compile only a static library, and the Panda3d try link against the shared library. I am using a x86_64 computer, and the error message on Panda compiling was:
[ 32%] Linking dynamic library built/lib/libpanda.so
/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../lib/libsquish.a(squish.o): relocation R_X86_64_32 against `__gxx_personality_v0' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../lib/libsquish.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
Storing dependency cache.
The problem was solved when I recompiled the libsquish to generate a shared and static library.
The question: Anyone more had this problem? If yes, I will contact the libsquish mantainer and ask him to add my patch to compile the shared library too. If no, what did I wrong?
Pinned Comments