user@ubuntu:~/iRODS_DSI/B2STAGE-GridFTP$ make install
Scanning dependencies of target globus_gridftp_server_iRODS
[ 10%] Building C object CMakeFiles/globus_gridftp_server_iRODS.dir/DSI/globus_gridftp_server_iRODS.c.o
/home/user/iRODS_DSI/B2STAGE-GridFTP/DSI/globus_gridftp_server_iRODS.c:29:28: fatal error: rodsClient.hpp: No such file or directory
Comment 1
Does this error still occurs in iRODS 4?
An error like:
${IRODS_PATH}/lib/core/obj/libRodsAPIs.a(clientLogin.o):
relocation R_X86_64_32 against `.bss` can not be used when making
a shared object; recompile with -fPIC
usually happens on x86_64 systems. In order to solve it, recompile iRODS
with the mentioned flag, -fPIC:
a) Edit iRODS/config/irods.config and add:
`$CCFLAGS = '-fPIC';`
b) Rebuild iRODS with ./irodssetup
The fix needs to be updated to iRODS4 —> replace irodssetup with /var/lib/irods/packaging/setup_irods.sh
I am not sure which of the *_config.json to edit.
Compilation error
user@ubuntu:~/iRODS_DSI/B2STAGE-GridFTP$ make install Scanning dependencies of target globus_gridftp_server_iRODS [ 10%] Building C object CMakeFiles/globus_gridftp_server_iRODS.dir/DSI/globus_gridftp_server_iRODS.c.o /home/user/iRODS_DSI/B2STAGE-GridFTP/DSI/globus_gridftp_server_iRODS.c:29:28: fatal error: rodsClient.hpp: No such file or directory
include "rodsClient.hpp"
compilation terminated. make[2]: * [CMakeFiles/globus_gridftp_server_iRODS.dir/DSI/globus_gridftp_server_iRODS.c.o] Error 1 make[1]: * [CMakeFiles/globus_gridftp_server_iRODS.dir/all] Error 2 make: *\ [all] Error 2
Solved by:
Install necessary iRODS packages and code
Comment 1 Does this error still occurs in iRODS 4? An error like:
usually happens on x86_64 systems. In order to solve it, recompile iRODS with the mentioned flag, -fPIC:
a) Edit iRODS/config/irods.config and add:
b) Rebuild iRODS with
./irodssetup
The fix needs to be updated to iRODS4 —> replace irodssetup with /var/lib/irods/packaging/setup_irods.sh I am not sure which of the *_config.json to edit.
Error user@ubuntu:~/iRODS_DSI/B2STAGE-GridFTP$ sudo /etc/init.d/globus-gridftp-server restart
Solved by editing the gridftp.conf file: $LD_LIBRARY_PATH "$LD_LIBRARY_PATH:/home/eve/iRODS_DSI/B2STAGE-GridFTP/“