Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: libpng12.so.0: undefined symbol: _png_set_longjmp_fn #252

Closed
noway opened this issue Apr 20, 2014 · 3 comments
Closed

Error: libpng12.so.0: undefined symbol: _png_set_longjmp_fn #252

noway opened this issue Apr 20, 2014 · 3 comments

Comments

@noway
Copy link
Contributor

noway commented Apr 20, 2014

Here is full error text:

WARNING: setting 'cg_blood' has multiple default values ('1', '0')
2014/04/20 18:52:22 [Strings.cpp:938] Fetching catalog file (locale='', domain='openspades')
2014/04/20 18:52:22 [Strings.cpp:944] Catalog file 'Locales//openspades.po' not loaded: File not found: Locales//openspades.po
at /home/noway/compiling/openspades/Sources/Core/FileManager.cpp:39
static spades::IStream* spades::FileManager::OpenForReading(const char*) at FileManager.cpp:32
static std::string spades::FileManager::ReadAllBytes(const char*) at FileManager.cpp:91
std::shared_ptr<spades::CatalogOfLanguage> spades::CatalogDomain::operator[](const string&) at Strings.cpp:932
std::shared_ptr<spades::CatalogOfLanguage> spades::GetCatalogOfLanguage(const string&) at Strings.cpp:1002
std::string spades::GetTextRaw(const string&, const string&, const string&, int) at Strings.cpp:1018

2014/04/20 18:52:22 [Main.cpp:594] [!] Terminating due to the fatal error: No bitmap codec could load file successfully: [stream]
SDL_image Image Reader:
IMG_Init failed: Failed loading png_set_longjmp_fn: /lib/x86_64-linux-gnu/libpng12.so.0: undefined symbol: _png_set_longjmp_fn
at /home/noway/compiling/openspades/Sources/Core/SdlImageReader.cpp:120
virtual spades::Bitmap* spades::SdlImageReader::Load(spades::IStream*) at SdlImageReader.cpp:43
int main(int, char**) at Main.cpp:312


Quake 3 Derived Targa Importer:
LoadTGA: Only type 2 (RGB), 3 (gray), and 10 (RGB) TGA images supported
at /home/noway/compiling/openspades/Sources/Core/TargaReader.cpp:119
virtual spades::Bitmap* spades::TargaReader::Load(spades::IStream*) at TargaReader.cpp:60
int main(int, char**) at Main.cpp:312




at /home/noway/compiling/openspades/Sources/Core/Bitmap.cpp:116
int main(int, char**) at Main.cpp:312

@noway
Copy link
Contributor Author

noway commented Apr 20, 2014

How to fix this:

Compile SD2L_image with --disable-png-shared.
Like this:

./configure --disable-png-shared && make && sudo make install

@yvt
Copy link
Owner

yvt commented Apr 27, 2014

OpenSpades is not responsible for this issue. Moved to Playing FAQ, and closing this.

@luckydonald
Copy link

that FAQ is 404.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants