Skip to content

undefined symbol "_nss_cache_cycle_prevention_function" on FreeBSD 13 #32

@PaddyMac

Description

@PaddyMac

It's been a while since I've used your source port, but I figured I'd break it out again. I've successfully built and run it on FreeBSD before, but maybe something has changed in the latest FreeBSD 13-RELEASE. I'm currently trying TFE, and I can start the program with no trouble. But when I choose the option to start a new game and choose my difficulty level, I get the following error at the top of the screen:

network is off
CUnixDynamicLoader error: Undefine symbol "_nss_cache_cycle_prevention_function"
Cannot load DLL file '/usr/home/patrick/Serious-Engine/Bin/libEntities.so':
Undefined symbol "_nss_cache_cycle_prevention_function"

If I try to start a new game a second time, the program crashes with a segfault. Though now that I look a little closer, the undefined reference error might be a red herring. Yes it's an error, but it might not be causing the segfault. I ran the game through gdb, and this is what caused the segfault:

Thread 1 received signal SIGSEGV, Segmentation fault.
CFogMarker::GetFog (this=0x0, fpFog=...) at /usr/home/patrick/Serious-Engine/Sources/Entities/FogMarker.es:64
64 fpFog.fp_vFogDir(1) = m(1,2);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions