On Friday 02 February 2007 Alex Gorbachenko's cat, walking on the keyboard, 
wrote:
> hmmm... very strange behavior. can you show output of
> objdump -T /usr/local/lib/libwx_baseu-2.8.so | grep 'wxStringBase.*Init'

0009f1c0 g    DF .text  0000008d  WXU_2.8     _ZN12wxStringBase8InitWithEPKwjj

> when you build wxgtk contribs (i.e. ogl), core and base wxgtk libs is
> not present in linker options.

but I've installed wx, run ldconfig and then build the contribs. 

>
> example for "right" build flags: "-Wl,-L<wxbuilddir>/lib
> -lwx_gtk2u_core-2.8 -lwx_baseu-2.8"
>
> change dir to <wxbuilddir>/contrib/src/ogl and type make clean && make.
> at the end of report you should see string with linker options. for
> example, my string is:
>


It seems right to me, isn't it?

g++ -shared -fPIC -o 
/home/luca/tmp/wxWidgets-2.8.0/lib/libwx_gtk2u_ogl-2.8.so.0.0.0  
ogldll_basic2.o ogldll_canvas.o ogldll_divided.o ogldll_mfutils.o 
ogldll_oglmisc.o ogldll_basic.o ogldll_composit.o ogldll_drawn.o 
ogldll_bmpshape.o ogldll_constrnt.o ogldll_lines.o 
ogldll_ogldiag.o -pthread     -L/home/luca/tmp/wxWidgets-2.8.0/lib   
-Wl,-soname,libwx_gtk2u_ogl-2.8.so.0   -lz -ldl -lm  -lwxtiff-2.8 -lwxjpeg-2.8  
-pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm 
-lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes 
-lpango-1.0 -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 
-lXinerama -lSM -lpng -lz   -lwxregexu-2.8  -pthread  
-Wl,--version-script,/home/luca/tmp/wxWidgets-2.8.0/version-script -lz -ldl -lm 
 -lwx_gtk2u_core-2.8  -lwx_baseu-2.8

Should I set other options?

Thanks,
Luca

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to