postgresql93-odbc RPM for x32 and x64

Поиск
Список
Период
Сортировка
Искать

postgresql93-odbc RPM for x32 and x64

От:
Nico <nicolas.dey@gmail.com>
Дата:
Hello,

This is about postgresql93-odbc packaging (latest version: 09.03.0300). 
I've searched on the Internet but I think I am still missing the good 
keywords, as I did not see any satisfying topics. Please disregard this 
email if this is a common question, and accept my apologies.

I've noticed the following points:

* x32 and x64 RPMs are installing /usr/pgsql-9.3/lib/psqlodbcw.so (and 
other files) at the very same place.
* x32 and x64 RPMs are not conflicting: I was able to install x64 RPM 
and then x32 RPM on a x64 computer.
* Even if the installation is done with no error, the latest RPM 
installed (x32 in my example), does not overwrite the previous RPM's 
files (x64 in my example, and probably a RPM feature).

Questions:
* Is it an issue or is it done on purpose? Could you tell me more if it 
is on purpose? I'd like to understand why.
* Are both ODBC really conflicting if an application requires a x32 one, 
and another a x64 one?
* Is it possible to install x64 libs in another folder (e.g. 
/usr/pgsql-9.3/lib64/psqlodbcw.so) without breaking compatibility? I 
used %{pginstdir}/%{_libdir} instead of %{pginstdir}/lib in the SPEC.
* Do you think x32 and x64 RPM versions, using the same location for 
their files, should conflict?

Best regards,
-- Nicolas DEY

Re: postgresql93-odbc RPM for x32 and x64

От:
Nicolas Dey <nicolas.dey@gmail.com>
Дата:
Hello,

This is a tiny follow-up on my latest email as these issues appear to be still in latest ODBC RPMs (postgresql94-odbc-09.03.0300). My questions (below) are still valid, and if I am not using the good way of asking, could you please point me any documentation? Your help would be greatly appreciated.

Best regards,
-- Nicolas DEY

On Wed, Oct 8, 2014 at 11:33 AM, Nico <nicolas.dey@gmail.com> wrote:
Hello,

This is about postgresql93-odbc packaging (latest version: 09.03.0300). I've searched on the Internet but I think I am still missing the good keywords, as I did not see any satisfying topics. Please disregard this email if this is a common question, and accept my apologies.

I've noticed the following points:

* x32 and x64 RPMs are installing /usr/pgsql-9.3/lib/psqlodbcw.so (and other files) at the very same place.
* x32 and x64 RPMs are not conflicting: I was able to install x64 RPM and then x32 RPM on a x64 computer.
* Even if the installation is done with no error, the latest RPM installed (x32 in my example), does not overwrite the previous RPM's files (x64 in my example, and probably a RPM feature).

Questions:
* Is it an issue or is it done on purpose? Could you tell me more if it is on purpose? I'd like to understand why.
* Are both ODBC really conflicting if an application requires a x32 one, and another a x64 one?
* Is it possible to install x64 libs in another folder (e.g. /usr/pgsql-9.3/lib64/psqlodbcw.so) without breaking compatibility? I used %{pginstdir}/%{_libdir} instead of %{pginstdir}/lib in the SPEC.
* Do you think x32 and x64 RPM versions, using the same location for their files, should conflict?

Best regards,
-- Nicolas DEY

Re: postgresql93-odbc RPM for x32 and x64

От:
Devrim Gündüz <devrim@gunduz.org>
Дата:
Вложения:

Hi Nico,

On Wed, 2014-10-08 at 11:33 -0400, Nico wrote:
> * Is it an issue or is it done on purpose? Could you tell me more if
> it  is on purpose? I'd like to understand why.

I'd say "on purpose". While designing the new packages, we created
only /usr/pgsql-X.Y/lib directory, not lib32, or lib64. Breaking this
may break something else, so ...

-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

FAQ