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

Already on GitHub? Sign in to your account

Can't init tiff #239

Open
FROGGS opened this Issue Jun 19, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Owner

FROGGS commented Jun 19, 2012

http://www.cpantesters.org/cpan/report/10f62f86-ba0a-11e1-9066-3d54fb7543f5

Subject: NA SDL-2.541_08 v5.12.4 SunOS/Solaris
[Alien::SDL] Build option used:
    Source code build
    tiff(v3.9.1) SDL(v1.2.15) SDL_image(v1.2.11) ogg(v1.3.0) vorbis(v1.3.3) SDL_mixer(v1.2.12) SDL_ttf(v2.0.11) SDL_gfx(v2.0.23) SDL_Pango(v1.2) 
#   Failed test '[init] Inited TIFF'
#   at t/image.t line 188.
#     '0'
# & #     '4'

@ghost ghost assigned FROGGS Jun 19, 2012

Owner

FROGGS commented Jun 24, 2012

Ya. It is obviously a problem loading libs at runtime, so we should set LD_RUN_PATH or rpath when compiling libs.
One problem is that rpath is os/compiler specific.
Yesterday I fixed problems on my NetBSD vm, using -Wl,-rpath,LIBDIR. I think I need to find a way to guess the flags right for the current system...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment