Package Details: oracle-instantclient-basic 21.13.0.0.0-1

Git Clone URL: https://aur.archlinux.org/oracle-instantclient-basic.git (read-only, click to copy)
Package Base: oracle-instantclient-basic
Description: Light replacement for the Oracle client (files to run OCI, OCCI and JDBC-OCI programs)
Upstream URL: http://www.oracle.com/technetwork/database/features/instant-client/
Licenses: custom:OTN
Replaces: instantclient-basic, instantclient-basiclite
Submitter: Malvineous
Maintainer: Malvineous
Last Packager: Malvineous
Votes: 30
Popularity: 0.042535
First Submitted: 2012-03-21 03:58 (UTC)
Last Updated: 2024-04-05 23:30 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

hexd commented on 2021-11-15 01:23 (UTC)

I haven't tried to replace it with printf or echo because it already worked on makepkg without any change, but I agree that it looks like a bug in yay (the error message looks like it's mixing something, perhaps yay itself overrides the pĺain routine).

Either way, I've just upgraded it here to the new 21.4.0.0.0-1 release and it's working (with yay). Thanks!

Malvineous commented on 2021-11-14 08:21 (UTC) (edited on 2021-11-14 08:32 (UTC) by Malvineous)

@hexd: Have you tried it with printf or echo? Surely it would have the same problem. It sounds like a bug in yay trying to screen-scrape the output instead of looking at the .SRCINFO file.

EDIT: I removed the text anyway as now makepkg can automatically download the files direct from Oracle there's no longer a need to have those extra instructions.

hexd commented on 2021-11-14 04:30 (UTC)

The plain lines in PKGBUILD are breaking yay with the following message:

 -> cannot find package name: [If you run into any problems downloading the files, get the .zip version from]

Using makepkg from scratch it works, but the Arch package guidelines tells us that plain should not be used:

Do not use makepkg subroutines (e.g. error, msg, msg2, plain, warning) as they might change at any time. To print data, use printf or echo.

Malvineous commented on 2021-01-26 09:17 (UTC)

Glad you worked it out! Thanks for confirming what the problem ended up being.

chris_muc commented on 2021-01-26 08:20 (UTC) (edited on 2021-01-26 08:20 (UTC) by chris_muc)

thanks for the tip. That was it, I used the sqlldr from 12c installation (/usr/local/bin -> which is before in my PATH than /usr/bin used by sqlldr from tools package)

Thanks for your help.

Malvineous commented on 2021-01-26 08:09 (UTC)

Can you do a which sqlldr and pass that to pacman -Qo to confirm it's part of the oracle-instantclient-tools package? If it's wanting a .12.1 library then it seems like you've somehow got an sqlldr installed from the Oracle 12.1 client instead.

chris_muc commented on 2021-01-26 08:00 (UTC) (edited on 2021-01-26 08:00 (UTC) by chris_muc)

Unfortunately upgrading oracle-instantclient-tools did not help in my case. But I might have different problem.

In both cases (on version 21 or 19) I need to manually link libraries:

sqlldr: error while loading shared libraries: libclntsh.so.12.1: cannot open shared object file: No such file or directory

$ sudo ln -s /usr/lib/libclntsh.so.21.1 /usr/lib/libclntsh.so.12.1

similar for libclntshcore.so.12.1 and libmql1.so (which is not available in 21)

Do you have an idea why my sqlldr requires so.12.1 versions? is there any shared libraries update needed?

thanks

Malvineous commented on 2021-01-26 05:26 (UTC)

sqlldr works fine for me, when you upgraded oracle-instantclient-basic to version 21 did you upgrade oracle-instantclient-tools as well? There is a version dependency for that package so it should have given you a warning if you tried to upgrade one without the other, unless you installed sqlldr yourself instead of using the oracle-instantclient-tools package?

chris_muc commented on 2021-01-25 14:25 (UTC) (edited on 2021-01-25 14:26 (UTC) by chris_muc)

you are right, it's missing in oracle-instant-client-basic in version 21. It was provided in version 19.

It's needed by sqlldr (sqlloader).

I downgraded to 19.

Malvineous commented on 2021-01-25 13:25 (UTC)

What needs it? I can run sqlplus and other Oracle apps without any issue. Can you confirm it is supplied in the Oracle download? If it's missing from there there's not much we can do.