|
|
sybperl-l Archive
Up Prev Next
From: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: Error: DBlib.a is not for this machine type
Date: Feb 2 1996 8:54AM
From: Gary Kephart
>
> I try running some examples I made, and I get this:
>
> ld.so: /usr/local/lib/perl5/sun4-sunos/auto/Sybase/DBlib/DBlib.a is not
> for this machine type
>
> I don't see how this can be, because I can do "ar t" and "nm" on the
> file and they return something. I can't imagine ar and nm working on a
> .a file and ld not working. So what gives?
>
In any case, ld.so shouldn't be trying to load 'DBlib.a', it should try
to load DBlib.so. In addition, I ran 'file DBlib.*' on my machine
(SunOS 4.1.4) and got:
kiruna (9:52am):158 > file DBlib.*
DBlib.a: archive random library
DBlib.bs: empty
DBlib.so: sparc demand paged shared library executable not stripped
kiruna (9:52am):159 >
So the DBlib.a file *could* potentially be of the wrong type. However,
I rather suspect an installation problem of some sort (maybe a missing
library during the build or something similar)
Michael
|