List Info

Thread: Install on Solaris (LD_LIBRARY_PATH)




Install on Solaris (LD_LIBRARY_PATH)
country flaguser name
United States
2007-05-08 13:38:35
I was getting the following error when attempting to install
on  
Solaris machine...

"Can't load 'blib/arch/auto/P4/P4.so' for module P4:
ld.so.1:  
perl5.8.6: fatal: libstdc++.so.6: open failed: No such file
or  
directory at /usr/local/perl5.8.6/lib/5.8.6/sun4-solaris/ 
DynaLoader.pm line 230.
at test.pl line 34"


So, reading some other posts, I found that I could set the 

LD_LIBRARY_PATH env variable to get around this.
I did this:
  setenv LD_LIBRARY_PATH /lib:/usr/lib:/usr/local/lib
It's actually here:
  /usr/local/lib/libstdc++.so.6


Doing this, I have successfully installed P4.pm.  But, the
problem I  
have now, is that any script I write is expecting the
LD_LIBRARY_PATH  
env variable to be set.

I don't know much about this stuff, but is there a way to
make this  
setting on the install so I don't have to set the env
variable?


I'd appreciate any help with this.  Thanks!



--
Tom Adamo
University at Buffalo

_______________________________________________
p4perl mailing list
p4perlperforce.com

http://maillist.perforce.com/mailman/listinfo/p4perl

Re: Install on Solaris (LD_LIBRARY_PATH)
country flaguser name
United States
2007-05-10 13:16:04
Please disregard this issue (after looking into this for a
bit, I  
figured it out).


In case anyone ever needs the info, here is what I did to
get this  
installed...

   perl Makefile.PL LDDLFLAGS="-G
-R/usr/local/lib"


--
Tom Adamo
University at Buffalo



On May 8, 2007, at 2:38 PM, Tom Adamo wrote:

> I was getting the following error when attempting to
install on
> Solaris machine...
>
> "Can't load 'blib/arch/auto/P4/P4.so' for module
P4: ld.so.1:
> perl5.8.6: fatal: libstdc++.so.6: open failed: No such
file or
> directory at
/usr/local/perl5.8.6/lib/5.8.6/sun4-solaris/
> DynaLoader.pm line 230.
> at test.pl line 34"
>
>
> So, reading some other posts, I found that I could set
the
> LD_LIBRARY_PATH env variable to get around this.
> I did this:
>   setenv LD_LIBRARY_PATH /lib:/usr/lib:/usr/local/lib
> It's actually here:
>   /usr/local/lib/libstdc++.so.6
>
>
> Doing this, I have successfully installed P4.pm.  But,
the problem I
> have now, is that any script I write is expecting the
LD_LIBRARY_PATH
> env variable to be set.
>
> I don't know much about this stuff, but is there a way
to make this
> setting on the install so I don't have to set the env
variable?
>
>
> I'd appreciate any help with this.  Thanks!
>
>
>
> --
> Tom Adamo
> University at Buffalo
>
> _______________________________________________
> p4perl mailing list
> p4perlperforce.com
> 
http://maillist.perforce.com/mailman/listinfo/p4perl
_______________________________________________
p4perl mailing list
p4perlperforce.com

http://maillist.perforce.com/mailman/listinfo/p4perl

Re: Install on Solaris (LD_LIBRARY_PATH)
country flaguser name
United Kingdom
2007-05-17 10:23:12
Hi Tom,

Apologies for the lack of response - I've been offline for a
few days. Thanks 
for letting us know that you found a solution.

Tony

On Thursday 10 May 2007 19:16, you wrote:
> Please disregard this issue (after looking into this
for a bit, I
> figured it out).
>
>
> In case anyone ever needs the info, here is what I did
to get this
> installed...
>
>    perl Makefile.PL LDDLFLAGS="-G
-R/usr/local/lib"
>
>
> --
> Tom Adamo
> University at Buffalo
>
> On May 8, 2007, at 2:38 PM, Tom Adamo wrote:
> > I was getting the following error when attempting
to install on
> > Solaris machine...
> >
> > "Can't load 'blib/arch/auto/P4/P4.so' for
module P4: ld.so.1:
> > perl5.8.6: fatal: libstdc++.so.6: open failed: No
such file or
> > directory at
/usr/local/perl5.8.6/lib/5.8.6/sun4-solaris/
> > DynaLoader.pm line 230.
> > at test.pl line 34"
> >
> >
> > So, reading some other posts, I found that I could
set the
> > LD_LIBRARY_PATH env variable to get around this.
> > I did this:
> >   setenv LD_LIBRARY_PATH
/lib:/usr/lib:/usr/local/lib
> > It's actually here:
> >   /usr/local/lib/libstdc++.so.6
> >
> >
> > Doing this, I have successfully installed P4.pm. 
But, the problem I
> > have now, is that any script I write is expecting
the LD_LIBRARY_PATH
> > env variable to be set.
> >
> > I don't know much about this stuff, but is there a
way to make this
> > setting on the install so I don't have to set the
env variable?
> >
> >
> > I'd appreciate any help with this.  Thanks!
> >
> >
> >
> > --
> > Tom Adamo
> > University at Buffalo
> >
> > _______________________________________________
> > p4perl mailing list
> > p4perlperforce.com
> > 
http://maillist.perforce.com/mailman/listinfo/p4perl
>
> _______________________________________________
> p4perl mailing list
> p4perlperforce.com
> 
http://maillist.perforce.com/mailman/listinfo/p4perl
>
> !DSPAM:46437764285841135117692!
_______________________________________________
p4perl mailing list
p4perlperforce.com

http://maillist.perforce.com/mailman/listinfo/p4perl

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )