"ar" utility missing?

I cannot seem to call the “ar” utility to make libraries.

I’ve installed all development packages from the CD. If I “ls” in /usr/bin,
I find a directory entry called “ar”. When I try to execute it, I get “ar:
not found”. When I try “ls ar” in /usr/bin, I get “ls: Filename too long
(ar)”

What’s going on?

– Kevin

Kevin Kahl <kkahl@gte.net> wrote:

I cannot seem to call the “ar” utility to make libraries.

I’ve installed all development packages from the CD. If I “ls” in /usr/bin,
I find a directory entry called “ar”. When I try to execute it, I get “ar:
not found”. When I try “ls ar” in /usr/bin, I get “ls: Filename too long
(ar)”

What’s going on?

Do any of the other binutils work? (nm,ld,objdump etc). It sounds
like a bad pkg archive/installation?


cburgess@qnx.com

Yes, all of the other ones you mentioned appear to function properly.
Weird.

If you can tell me which package to uninstall/reinstall, I can try that…

Thanks.

– Kevin

“Colin Burgess” <cburgess@qnx.com> wrote in message
news:8ssiib$5ro$1@nntp.qnx.com

Kevin Kahl <> kkahl@gte.net> > wrote:
I cannot seem to call the “ar” utility to make libraries.

I’ve installed all development packages from the CD. If I “ls” in
/usr/bin,
I find a directory entry called “ar”. When I try to execute it, I get
“ar:
not found”. When I try “ls ar” in /usr/bin, I get “ls: Filename too
long
(ar)”

What’s going on?

Do any of the other binutils work? (nm,ld,objdump etc). It sounds
like a bad pkg archive/installation?


cburgess@qnx.com

Problem solved. I removed and re-installed the GNU binutils package and all
is well again.

Thanks for the tip.

– Kevin


“Kevin Kahl” <kkahl@gte.net> wrote in message
news:8st79g$qkq$1@inn.qnx.com

Yes, all of the other ones you mentioned appear to function properly.
Weird.

If you can tell me which package to uninstall/reinstall, I can try that…

Thanks.

– Kevin

“Colin Burgess” <> cburgess@qnx.com> > wrote in message
news:8ssiib$5ro$> 1@nntp.qnx.com> …
Kevin Kahl <> kkahl@gte.net> > wrote:
I cannot seem to call the “ar” utility to make libraries.

I’ve installed all development packages from the CD. If I “ls” in
/usr/bin,
I find a directory entry called “ar”. When I try to execute it, I get
“ar:
not found”. When I try “ls ar” in /usr/bin, I get “ls: Filename too
long
(ar)”

What’s going on?

Do any of the other binutils work? (nm,ld,objdump etc). It sounds
like a bad pkg archive/installation?


cburgess@qnx.com