[ATrpms-devel] CGAL FC6

Paulo Cavalcanti promac at gmail.com
Fri Nov 3 04:06:12 CET 2006


Hi Axel,

I contacted the maintainer of CGAL, Laurent Rineau,
and he found the problem. Just an extra white space.

-+	$(CGAL_SHARED_LIB_CREATE)libCGALQt.so.$(SOVERSION)
-Wl,-soname,libCGALQt.so.${SOMAJOR}\
++	$(CGAL_SHARED_LIB_CREATE)libCGALQt.so.$(SOVERSION)
-Wl,-soname,libCGALQt.so.${SOMAJOR} \


The fix (new rpm) should be out soon.

Well, I think this puts an end to my quest of hunting FC6 bugs. Now I am
happy.

By the way, have you tried the easy fix of nvidia spec I suggested, or you
decided  to rewrite all the python stuff?

Thanks,

/Paulo Roma.


On 10/30/06, Paulo Cavalcanti <promac at gmail.com> wrote:
>
> Hi,
>
> I installed CGAL from Fedora extras for FC6.
>
> When I try to link I always get this error:
>
> g++  -o chull chull.o -Wall -frounding-math -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables        -I/usr/lib/qt- 3.3/include
> -g  -lCGAL         -L/usr/lib/qt-3.3/lib    -lCGAL  -lCGALQt -lqt-mt  -lz
> -lmpfr  -lgmpxx  -lgmp  -lX11  -lboost_program_options   -lm  -lglut -lGLU
> -lGL -lXmu -lXi
> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libCGALQt.so: undefined
> reference to `vtable for CGAL::Kinetic::internal::Qt_core'
> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libCGALQt.so: undefined
> reference to `CGAL::Kinetic::internal::Qt_core::Qt_core()'
> collect2: ld returned 1 exit status
>
> In /usr/lib there is a symbolic link:
>
> /usr/lib/libCGALQt.so.1Kinetic_Qt_core.o -> libCGALQt.so.1.0.1
>
> I tried to recompile the .src.rpm, and although everything went fine, I
> got the same error.
> Then, I removed CGAL from FC6 and installed the same version for FC5.
> No problem. The linking goes fine. But there is no
> /usr/lib/libCGALQt.so.1Kinetic_Qt_core.o
> in /usr/lib anymore (in a FC5 system this symbolic link does not exist
> also).
>
> I looked at the sources and they are the same for FC5 and FC6. Same
> patches, no difference.
> To be sure I recompiled the source rpm for FC5, and got the same linking
> error,
> and /usr/lib/libCGALQt.so.1Kinetic_Qt_core.o reappeared.
>
> Well, the only explanation is the compiler version.
> I am fine running CGAL for FC5, but does anyone have an explanation
> for this?
>
> I know this has nothing to do with ATrpms, but maybe I am just
> skipping something.
>
> Thanks,
>
> /Paulo Roma.
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20061103/086503f6/attachment.html 


More information about the atrpms-devel mailing list