-
Notifications
You must be signed in to change notification settings - Fork 1.2k
patch required to build oracle plugin, collectd-5.4.0 #653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've compiled ok (current master branch ) on rhel 5.9 with these oracle client libraries. ( RPM downloaded from oracle ) oracle-instantclient11.2-basic-11.2.0.4.0-1 And before running ./configure I did the following link /usr/lib/oracle/11.2/client64/rdbms/public -> /usr/include/oracle/11.2/client64 After that you can run ./configure like that: ./configure --with-oracle=/usr/lib/oracle/11.2/client64/ |
I am using Oracle Database Express Edition 11g Release 2 in Ubuntu 14.04 LTS. But this problem caused by library option order, not the environment. |
With this settings my config.log is showing the following.
current configure is finding the libraries as you can see. The main difference between our config.logs are the "-ldl" you have after conftest.c I hope this help you. |
But my config.log is showing failure,
Why do you append $with_oracle_libs to $LDFLAGS not $LIBS? |
when LDFLAGS="$LDFLAGS $with_oracle_libs" will fail.
when LIBS="$LIBS $with_oracle_libs" works fine.
|
It's a known fact that ubuntu's gcc is more strict than other distros wrt the options order: I can't be of any help as I don't use oracle, but if you figure out a patch that fixes the build for ubuntu without breaking it for others, please submit a pull-request so it can be easily merged. Thanks :-) |
Thank you, I submit a pull-request. |
patch required to build oracle plugin, collectd-5.4.0 (#653)
Merged by Marc. |
configure failed with Symbol 'OCIEnvCreate' not found.
$with_oracle_libs should be added in $LIBS, but $LDFLAGS
config.log
This is fix.
The text was updated successfully, but these errors were encountered: