# New Ticket Created by  [EMAIL PROTECTED] 
# Please include the string:  [perl #36695]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36695 >


---
osname= linux
osvers= 2.4.27-ti1211
arch=   i386-linux-thread-multi
cc=     cc 
---
Flags:
    category=core
    severity=low
    ack=no
---
After running make shared, make test fails nearly all of the t/src tests with 
errors like the following:
#     Failed test (t/src/exit.t at line 21)
#          got: './t/src/exit_1: error while loading shared libraries: libparrot
.so: cannot open shared object file: No such file or directory
# '
#     expected: 'pre-exit
# '
# './t/src/exit_1' failed with exit code 127
t/src/exit.....................NOK 1

This seems to be because the dynamic library search path isn't set at runtime, 
only compile-time. On Linux (the platform I'm using), this can be done by 
setting LD_LIBRARY_PATH to include blib/lib

---
Summary of my parrot 0.2.2 (r8738) configuration:
  configdate='Sat Jul 30 02:14:49 2005'
  Platform:
    osname=linux, archname=i386-linux-thread-multi
    jitcapable=1, jitarchname=i386-linux,
    jitosname=LINUX, jitcpuarch=i386
    execcapable=1
    perl=/usr/bin/perl
  Compiler:
    cc='cc', ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN  
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
  Linker and Libraries:
    ld='cc', ldflags=' -L/usr/local/lib',
    cc_ldflags='',
    libs='-ldl -lm -lpthread -lcrypt -lrt -lgmp'
  Dynamic Linking:
    share_ext='.so', ld_share_flags='-shared -L/usr/local/lib -fPIC',
    load_ext='.so', ld_load_flags='-shared -L/usr/local/lib -fPIC'
  Types:
    iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
    ptrsize=4, ptr_alignment=1 byteorder=1234, 
    nv=double, numvalsize=8, doublesize=8

---
Environment:
    HOME    LANG    LANGUAGE    LC_CTYPE    LD_LIBRARY_PATH    LOGDIR    PATH   
 PERL5LIB    PERL5_CPANPLUS_CONFIG    SHELL

Reply via email to