Project

General

Profile

Bug #659

Can't run doomsday on FreeBSD

Added by vcub about 15 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2009-04-03
% Done:

100%


Description

Hello!

  1. /usr/local/bin/deng -g jheretic
    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.1 +R Apr 3 2009 (DGL).
    Sys_InitWindowManager: Using SDL window management.
    While opening dynamic library
    /usr/local/lib/libjheretic.so:
    /usr/local/lib/libjheretic.so: Undefined symbol "S_ConsoleSound"
    loadGamePlugin: Loading of libjheretic.so failed ((null)).
    Error loading game library.Z_Shutdown: Used 1 volumes, total 33554432 bytes.

    Same problem with jHexen and jDoom.

WBR

Labels: Startup

History

#1 Updated by vcub almost 15 years ago

Same problem with 1.9.0-beta6.3.

#2 Updated by skyjake almost 15 years ago

Could you check if S_ConsoleSound is exported from the doomsday executable? E.g., with:

nm /where/ever/it/is/doomsday | grep ConsoleSound

#3 Updated by vcub almost 15 years ago

FreeBSD uses strip without WITH_DEBUG option. Here is a testcase with WITH_DEBUG option:

  1. nm /usr/local/bin/doomsday | grep ConsoleSound
    080e03d3 T S_ConsoleSound
  1. /usr/local/bin/doomsday -g jheretic
    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.3 +R Jul 10 2009 (DGL).
    Sys_InitWindowManager: Using SDL window management.
    While opening dynamic library
    /usr/local/lib/libjheretic.so:
    /usr/local/lib/libjheretic.so: Undefined symbol "S_ConsoleSound"
    loadGamePlugin: Loading of libjheretic.so failed ((null)).
    Error loading game library.Z_Shutdown: Used 1 volumes, total 33554432 bytes.

But I got something interesting with libjheretic.so:

  1. nm /usr/local/lib/libjheretic.so | grep ConsoleSound
    Bus error (core dumped)

#4 Updated by vcub over 14 years ago

It's very strange. I've tested 1.9.0-beta6.7 and got another error:

$ /usr/local/bin/doomsday -g jheretic
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.7 Oct 13 2009 (DGL).
Sys_InitWindowManager: Using SDL window management.
While opening dynamic library
/usr/local/lib/libjheretic.so:
/usr/local/lib/libjheretic.so: Undefined symbol "R_CreateColorPalette"
loadGamePlugin: Loading of libjheretic.so failed ((null)).
Error loading game library.Z_Shutdown: Used 1 volumes, total 33554432 bytes.

Also available in: Atom PDF