> i tried to compile a unix application that uses X11.
>
[quoted text clipped - 14 lines]
>
> So what did i miss ?

Signature
Eric Albert ejalbert@cs.stanford.edu
http://outofcheese.org/
>> i tried to compile a unix application that uses X11.
>>
[quoted text clipped - 19 lines]
>Hope this helps,
>Eric
But it compiles and links without problems. Thats my problem. Only
when i want to start the application i get the errors.
On Linux i have something like the LD_LIBRARY_PATH and "ldd" to solve
problems with not found library. But on the Mac i'm totally helpless
at the moment.
Hauke Klein - 23 Sep 2004 08:51 GMT
> On Linux i have something like the LD_LIBRARY_PATH and "ldd" to solve
> problems with not found library. But on the Mac i'm totally helpless
> at the moment.
You can use "otool -L <executable>" instead of "ldd".
Hauke
Eric Albert - 23 Sep 2004 18:55 GMT
> >> i tried to compile a unix application that uses X11.
> >>
[quoted text clipped - 16 lines]
> >
> >You need to use g++ to compile or pass -lstdc++ to the compiler.
> But it compiles and links without problems. Thats my problem. Only
> when i want to start the application i get the errors.
That's probably because the application is doing something stupid like
linking with -flat_namespace -undefined suppress. Doing what I said
above should fix it.
-Eric

Signature
Eric Albert ejalbert@cs.stanford.edu
http://outofcheese.org/