Skip to content

Problem compilation #1

@ebioman

Description

@ebioman

Hi
I got some compiling problems with this version which I did not experience earlier. I am on a CentOS based system and with Hdf >= 1.8 , g++ (GCC) 4.9.1.
There quite a few warnings regarding some pointers in hdf libraries but which causes then exit errors is:

g++ -g -O3  -Wno-div-by-zero -I ../common -I /software/include/  -fpermissive -static  -I ../common -I /software/include/  bin/GuidedAlign.o  -o bin/guidedalign -L/software/lib64/ -lhdf5_cpp -lhdf5 -lz -lpthread
/software/lib64//libhdf5.a(H5PL.o): In function `H5PL__open':
(.text+0xb08): undefined reference to `dlopen'
/software/lib64//libhdf5.a(H5PL.o): In function `H5PL__open':
(.text+0xb1a): undefined reference to `dlerror'
/software/lib64//libhdf5.a(H5PL.o): In function `H5PL__open':
(.text+0xb3a): undefined reference to `dlsym'
/software/lib64//libhdf5.a(H5PL.o): In function `H5PL__search_table':
(.text+0xeef): undefined reference to `dlsym'
/software/lib64//libhdf5.a(H5PL.o): In function `H5PL__close':
(.text+0x1004): undefined reference to `dlclose'
collect2: error: ld returned 1 exit status

Any idea how I can fix that ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions