jacquayj / GoRODS

Golang binding for iRODS C API: An iRODS client library written in Golang + C
https://godoc.org/github.com/jjacquay712/GoRODS
BSD 3-Clause "New" or "Revised" License
17 stars 5 forks source link

Reported: Additional packages required to build GoRods #2

Closed jjacquay712 closed 8 years ago

jjacquay712 commented 8 years ago

The only package that should be required is irods-dev-4.1.8, but this might not be the case. Needs further investigation.

Lib Dependencies, seems to be covered by "rpm -ql irods-dev":

 /usr/lib/libirods_client.a
 /usr/lib/libirods_client_api.a
 /usr/lib/irods/externals/libboost_thread.a
 /usr/lib/irods/externals/libboost_system.a
 /usr/lib/irods/externals/libboost_filesystem.a
 /usr/lib/irods/externals/libboost_program_options.a
 /usr/lib/irods/externals/libboost_chrono.a
 /usr/lib/irods/externals/libboost_regex.a
 /usr/lib/irods/externals/libjansson.a
 /usr/lib/libirods_client_core.a
 /usr/lib/libirods_client_plugins.a

 -lz -lssl -lcrypto -ldl -lpthread -lm -lrt -lstdc++ -rdynamic -Wno-write-strings -DBOOST_SYSTEM_NO_DEPRECATED
jjacquay712 commented 8 years ago

Removed other iRods packages and verified that irods-dev.x86_64 was the only package installed:

[root@localhost ~]# yum list installed | grep irods
irods-dev.x86_64                      4.1.8-0                         @/irods-dev-4.1.8-centos7-x86_64

Removed pre-compiled binaries, libraries, etc... build script works.

[john@localhost tester]$ rm -rf src/github.com/jjacquay712/GoRods/lib/build/*
[john@localhost tester]$ rm -rf pkg
[john@localhost tester]$ rm bin/tester
[john@localhost tester]$ ./build.sh
- Running from $GOPATH dir -

ERROR: _rcConnect: connectToRhost error, server on localhost:1247 is probably down status = -305111 USER_SOCK_CONNECT_ERR, Connection refused
Error connecting to server: 2016-06-29 15:24:49.221250676 -0400 EDT: Fatal - iRods Connect Failed: rcConnect failed

@simont I'm going to mark this as closed, let me know if you're able to reproduce this issue somehow and we can revisit it. Thanks!