1. I accepted defaults when building perl, which lead to a value of: ccdlflags=' -Wl,-rpath,/usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/CORE'
as seen when you execute perl -V; looks like this is wrong 2. This value is used in MODPERL_LDOPTS in the Makefile generated in modperl-2.0/src/modules/perl 3. the 'Wl,' construct is not used by the native tru64 compiler/linker, so this make failed 4. I changed this to a straight "-rpath /usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/CORE" and it compiled and linked OK 5. simple programs like rock.pl ran OK, but others I copied from a mod-perl version 1 environment failed, eg in the error log: [Fri Jan 06 11:44:13 2006] [error] Can't load '/usr/users/dwadmin/perl/lib/site_perl/5.8.7/alpha-dec_osf/auto/APR/Error/Er ror.so' for module APR::Error: dlopen: /usr/users/dwadmin/perl/lib/site_perl/5.8.7/alpha-dec_osf/auto/APR/Error/Err or.so: symbol "Perl_newXS" unresolved at /usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/XSLoader.pm line 68.\n at /usr/users/dwadmin/perl/lib/site_perl/5.8.7/alpha-dec_osf/APR/XSLoader.pm line 30\nCompilation failed in require at (eval 287) line 1.\n 6. seems like my rpath isn't working, so I added /usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/CORE to the LD_LIBRARY_PATH variable and restarted apache 7. everything works now, but there must be a cleaner way to do it Thanks for your help -----Original Message----- From: Philip M. Gollucci [mailto:[EMAIL PROTECTED] Sent: Thursday, 05 January 2006 3:12 AM To: Fox, Michael Cc: 'modperl@perl.apache.org' Subject: Re: [mp2] make error (alpha platform) - fails on link Fox, Michael wrote: > 1. Problem Description: > > make fails at last step - link flags seem to be wrong: D'oh! > MODPERL_LDOPTS = > -Wl,-rpath,/usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/CORE > -L/usr/local/lib AFAIK, these are coming from Perl's ldflags Is this something we need to account for in mod_perl2? Or did the perl on your system get borked somehow ? You can change this in Config_heav.pl grep for ldflags > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' > -Wl,-rpath,/usr/users/dwadmin/perl/lib/5.8.7/alpha-dec_osf/CORE' > cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym -std > -s -L/usr/local/lib' EW -- ------------------------------------------------------------------------ "Love is not the one you can picture yourself marrying, but the one you can't picture the rest of your life without." "It takes a minute to have a crush on someone, an hour to like someone, and a day to love someone, but it takes a lifetime to forget someone..." "I wanna hold ya till I die ... I wanna hold ya till the fear in me subsides." Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website www.auspost.com.au The information contained in this e-mail communication may be proprietary, confidential or legally professionally privileged. It is intended exclusively for the individual or entity to which it is addressed. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. Australia Post does not represent, warrant or guarantee the integrity of this e-mail communication has been maintained nor that the communication is free of errors, virus or interference. If you are not the addressee or intended recipient please notify us by replying direct to the sender and then destroy any electronic or paper copy of this message. Any views expressed in this e-mail communication are taken to be those of the individual sender, except where the sender specifically attributes those views to Australia Post and is authorised to do so.