Fórumok
Udv!
Van egy szamomra ismeretlen arhitektura ismeretlen operacios rendszerrel, igy megprobalok minden reszletet leirni, amit tudok.
Egy python csomagot kellene feltelepitenem (psycopg2==2.6.2), aminek a forditasa szerintem architekturalis problemaba utkozik. A lenyegi resz:
gcc -pthread -shared build/temp.linux-ppc64le-2.7/psycopg/psycopgmodule.o build/temp.linux-ppc64le-2.7/psycopg/green.o build/temp.linux-ppc64le-2.7/psycopg/pqpath.o build/temp.linux-ppc64le-2.7/psycopg/utils.o build/temp.linux-ppc64le-2.7/psycopg/bytes_format.o build/temp.linux-ppc64le-2.7/psycopg/connection_int.o build/temp.linux-ppc64le-2.7/psycopg/connection_type.o build/temp.linux-ppc64le-2.7/psycopg/cursor_int.o build/temp.linux-ppc64le-2.7/psycopg/cursor_type.o build/temp.linux-ppc64le-2.7/psycopg/diagnostics_type.o build/temp.linux-ppc64le-2.7/psycopg/error_type.o build/temp.linux-ppc64le-2.7/psycopg/lobject_int.o build/temp.linux-ppc64le-2.7/psycopg/lobject_type.o build/temp.linux-ppc64le-2.7/psycopg/notify_type.o build/temp.linux-ppc64le-2.7/psycopg/xid_type.o build/temp.linux-ppc64le-2.7/psycopg/adapter_asis.o build/temp.linux-ppc64le-2.7/psycopg/adapter_binary.o build/temp.linux-ppc64le-2.7/psycopg/adapter_datetime.o build/temp.linux-ppc64le-2.7/psycopg/adapter_list.o build/temp.linux-ppc64le-2.7/psycopg/adapter_pboolean.o build/temp.linux-ppc64le-2.7/psycopg/adapter_pdecimal.o build/temp.linux-ppc64le-2.7/psycopg/adapter_pint.o build/temp.linux-ppc64le-2.7/psycopg/adapter_pfloat.o build/temp.linux-ppc64le-2.7/psycopg/adapter_qstring.o build/temp.linux-ppc64le-2.7/psycopg/microprotocols.o build/temp.linux-ppc64le-2.7/psycopg/microprotocols_proto.o build/temp.linux-ppc64le-2.7/psycopg/typecast.o -L/usr/lib64 -L/usr/lib/postgresql94/lib64 -lpython2.7 -lpq -o /home/sarancs1/psycopg2/psycopg2-2.6.2/build/lib.2.7/psycopg2/_psycopg.so
/usr/lib64/gcc/powerpc64le-suse-linux/6/../../../../powerpc64le-suse-linux/bin/ld: /usr/lib64/gcc/powerpc64le-suse-linux/6/../../../../lib64/crti.o:(.debug_ranges+0x20): R_PPC64_ADDR64 against `.fini': error 2
/usr/lib64/gcc/powerpc64le-suse-linux/6/../../../../powerpc64le-suse-linux/bin/ld: /usr/lib64/gcc/powerpc64le-suse-linux/6/../../../../powerpc64le-suse-linux/bin/ld: Dwarf Error: found dwarf version '0', this reader only handles version 2, 3 and 4 information.
/usr/lib64/gcc/powerpc64le-suse-linux/6/../../../../lib64/crti.o:(.debug_ranges+0x28): R_PPC64_ADDR64 against `.fini': error 2
/usr/lib64/gcc/powerpc64le-suse-linux/6/../../../../powerpc64le-suse-linux/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Makefile:85: recipe for target '/home/user/psycopg2/psycopg2-2.6.2/build/lib.2.7/psycopg2/_psycopg.so' failed
make: *** [/home/user/psycopg2/psycopg2-2.6.2/build/lib.2.7/psycopg2/_psycopg.so] Error 1
. Nem nagyon ertem a hibauzenetet, de szamomra ez rejtve olyasmit jelent, hogy szuksege lenne az achitekturahoz tartozo dev fajlokra, amiket viszont nem tudom, hogy hol talalok. Persze lehet, hogy masra van szuksege.
A szukseges telepitett csomagok:
zypper search gcc
S | Name | Summary | Type
--+-----------+--------------------------------------+--------
i | gcc | The system GNU C Compiler | package
i | gcc6 | The GNU C Compiler and Support Files | package
i | libgcc_s1 | C compiler runtime library | package
zypper search postgresql
S | Name | Summary | Type
--+---------------------+-----------------------------------------------------------+--------
i | postgresql | Basic Clients and Utilities for PostgreSQL | package
i | postgresql-devel | PostgreSQL development header files and libraries | package
i | postgresql-init | Init script and other infrastructure for PostgreSQL | package
i | postgresql-server | The Programs Needed to Create and Run a PostgreSQL Server | package
i | postgresql94 | Basic Clients and Utilities for PostgreSQL | package
i | postgresql94-devel | PostgreSQL development header files and libraries | package
i | postgresql94-server | The Programs Needed to Create and Run a PostgreSQL Server | package
zypper search libpq
S | Name | Summary | Type
--+---------------+--------------------------------------------------+--------
i | libpq5 | Shared Libraries Required for PostgreSQL Clients | package
i | libpqxx-4_0 | C++ Client Library for PostgreSQL | package
i | libpqxx-devel | C++ Client Library for PostgreSQL | package
zypper search libdwarf
S | Name | Summary | Type
--+----------+------------------------------------+--------
i | libdwarf | Access DWARF debugging information | package
rpm -qa | grep -i dwarf
libdwarf-20121130-6.1.2.ppc64le
. Az arhitekturalis problemara azert is gondolok, mert ugyanezt a programot masik architekturan openSuSe- val gond nelkul tudtam forgatni.
Minden otletet szivesen varok.
- 697 megtekintés