Menu

#7 Compilation Issue gsegyview in RHEL 5.5 server edition

v1.0_(example)
open
None
5
2022-04-11
2014-12-03
skn
No

Hello,

I am not able to compile gsegyview in RHEL 5.5 server edition.
While compilation, following is the error that I received!
"
make[1]: Entering directory /opt/gsegyview-0.2/gl' cc -shared ../product/linux/obj/gtkseisviewgl_marshal.o ../product/linux/obj/gseispalette.o ../product/linux/obj/gseisviewaxis.o ../product/linux/obj/gseisviewaxistraces.o ../product/linux/obj/gseisviewaxisz.o ../product/linux/obj/gseisviewlight.o ../product/linux/obj/gseisviewlightbump.o ../product/linux/obj/gseisviewpainter.o ../product/linux/obj/gseisviewpainterarray.o ../product/linux/obj/gseisviewshaders.o ../product/linux/obj/gseisviewtool.o ../product/linux/obj/gseisviewtoolaux.o ../product/linux/obj/gseisviewtoolhlight.o ../product/linux/obj/gseisviewtoolmagnify.o ../product/linux/obj/gseisviewtoolmotion.o ../product/linux/obj/gseisviewtoolscale.o ../product/linux/obj/gtklightdirection.o ../product/linux/obj/gtkseisviewgl.o ../product/linux/obj/gtkseisviewglsl.o ../product/linux/obj/trackball.o ../product/linux/obj/gseisviewfor.o -Wl,--export-dynamic -L/lib64 -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -Wl,--export-dynamic -L/lib64 -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 \ -Wl,-soname -Wl,libgtkseisviewgl.so.0 -o ../product/linux/gl/libgtkseisviewgl.so.0.2 /usr/bin/ld: ../product/linux/obj/gtkseisviewgl_marshal.o: relocation R_X86_64_32 againsta local symbol' can not be used when making a shared object; recompile with -fPIC
../product/linux/obj/gtkseisviewgl_marshal.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: [../product/linux/gl/libgtkseisviewgl.so.0.2] Error 1
make[1]: Leaving directory `/opt/gsegyview-0.2/gl'
make:
[target_gl] Error 2

"

Can somebody help me in this??

Regards,
Sunita

"

Discussion

  • Aggravator

    Aggravator - 2021-03-08

    I understand that it is probably not relevant for you, but if others want to compile I can suggest to try this modification of project. In my case this modified version builds successfully.

     
  • seismick

    seismick - 2022-04-11

    Aggravator, your patched gsegyview works on Centos 7. I had to: yum install gtkglext*
    then make symbolic link from f77 to gfortran. Ran the gsegyview script in view directory and it works, just complained about gsegyview,png not found, no big deal. This was on a development machine loaded with compilers and development libraries, so other users might find other dependencies need installing.

     

Log in to post a comment.