libjdoom.so: Undefined symbol "R_CreateColorPalette"

edited 2010 Jan 15 in Technical Support
Hi,

I'm trying to port new version of doomsday engine (1.9.0-beta6.8) to FreeBSD. It seems to compile just fine, but doesn't start:
> doomsday -texcomp -game jdoom -f /usr/local/share/doom/doom1.wad
Z_Create: New 32.0 MB memory volume.
determineGlobalPaths: Base path = /usr/local/share/deng/
Con_Init: Initializing the console.
Executable: Version 1.9.0-beta6.8 Jan 14 2010 (DGL).
Sys_InitWindowManager: Using SDL window management.
While opening dynamic library
/usr/local/lib/libjdoom.so:
  /usr/local/lib/libjdoom.so: Undefined symbol "R_CreateColorPalette"
loadGamePlugin: Loading of libjdoom.so failed ((null)).
Error loading game library.Z_Shutdown: Used 1 volumes, total 33554432 bytes.
What am I missing here? Any other info required?

Comments

  • Solved. I needed to set CMAKE_EXE_LINKER_FLAGS:STRING="-Wl,--export-dynamic". Sorry for the noise :)
Sign In or Register to comment.