Skip to content
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

multiple load library #150

Open
pointersp opened this issue Oct 9, 2023 · 3 comments
Open

multiple load library #150

pointersp opened this issue Oct 9, 2023 · 3 comments

Comments

@pointersp
Copy link

Hy,

We are used the ERP from TOTVS in Brazil that load the library for PostgreSQL when the aplication server is started.

But the library is not changed or may be the unixODBC is not loaded PostgreSQL and MySQL system at memory.

I don´t know if it is issue for a new feature to load two library or enable to change ( unload x load ) it.

Error below

[ERROR] - Unable to load [/usr/lib64/libmyodbc5-5.1.8.so] for DBMS [ODBC] -- Different ODBC Library (/usr/lib64/libodbc.so) already loaded to [POSTGRES#].

Thank you

@lurcher
Copy link
Owner

lurcher commented Oct 9, 2023 via email

@pointersp
Copy link
Author

On 09/10/2023 15:21, pointersp wrote: Hy, We are used the ERP from TOTVS in Brazil that load the library for PostgreSQL when the aplication server is started. But the library is not changed or may be the unixODBC is not loaded PostgreSQL and MySQL system at memory. I don´t know if it is issue for a new feature to load two library or enable to change ( unload x load ) it. Error below [ERROR] - Unable to load [/usr/lib64/libmyodbc5-5.1.8.so] for DBMS [ODBC] -- Different ODBC Library (/usr/lib64/libodbc.so) already loaded to [POSTGRES#].
Hi, Not sure what you are saying, Normally you would use the odbc library from unixODBC and then use that to load your MySQL driver as required. I have no direct experience with the TOTVS system you mention.

Thx for your prompt answer.

The lib " /usr/lib64/libodbc.so " is loaded at memory, but I don´t know if the unixODBC is enabled to load a second library "/usr/lib64/libmyodbc5-5.1.8.so" without unload the first one, keep both libraby at memory.

@v-chojas
Copy link
Contributor

unixODBC has no limitation on simultaneously using multiple ODBC drivers. Any errors you are seeing are coming from the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants