*BSD News Article 84680


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!su-news-hub1.bbnplanet.com!arclight.uoregon.edu!worldnet.att.net!news.alt.net!news1.alt.net!news.aa.net!usenet
From: "brian wehrle" <brianw@aa.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: motif application run time error
Date: 12 Dec 1996 10:24:32 GMT
Organization: Alternate Access Incorporated
Lines: 37
Message-ID: <01bbe7b2$a8ff01e0$badc9dcc@bw.aa.net>
References: <58jg0r$ils@ustsu10.ust.hk> <58l306$qb6@solaris.cc.vt.edu>
NNTP-Posting-Host: lennon-c22.aa.net
X-Newsreader: Microsoft Internet News 4.70.1155
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32471

When loading this software do this:
ldd "program_name"
This will show you the files it is trying to load.  Make sure that it can
find all of these symbols.
You may have an incorrect LD_LIBRARY_PATH env variable set wrong.
Try the re-link first.
Brian


Giao Nguyen <grail@cray-ymp.acm.stuorg.vt.edu> wrote in article
<58l306$qb6@solaris.cc.vt.edu>...
> In comp.unix.bsd.freebsd.misc Pang Kin Hung <eekhpang@uxmail.ust.hk>
wrote:
> : i manage to compile some motif program in my FreeBSD 2.1.5 + XFree86
3.1.2 + 
> : Mootiff for FreeBSD. However when i try to run the program, the
following 
> : error message appears:
> : ld.so: Undefined symbol "_XShapeQueryExtension" called from
601:/usr/lib/libXm.s
> : o.2.0.0 at 0x81cd304
> 
> : any idea?
> : Thanks in advance
> : kenny
> 
> Yes. I think what you want to do is link in libXext. Add in -lXext in
your 
> compilation process and you should be fine after that. Good luck and let
me
> know if that fixed the problem.
> 
> -- 
> Giao Nguyen
> Computer Science Student
> Will program for food
>