Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18967 closed defect (fixed)

rasqal version 1.700 linking fails (Error 1)

Reported by: ygrange@… Owned by: lyle@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: linking error. Cc: florian.feldhaus@…
Port: rasqal

Description (last modified by mf2k (Frank Schima))

output of last command issued by the making process:
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_rasqal/work/rasqal-0.9.16" && make all " returned error 2

(...)

/usr/bin/gcc-4.0 -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o .libs/librasqal.1.0.0.dylib  .libs/rasqal_expr.o .libs/rasqal_general.o .libs/rasqal_query.o .libs/rasqal_query_results.o .libs/rasqal_engine.o .libs/rasqal_raptor.o .libs/rasqal_literal.o .libs/rasqal_graph_pattern.o .libs/rasqal_map.o .libs/rasqal_feature.o .libs/rasqal_result_formats.o .libs/rasqal_xsd_datatypes.o .libs/rasqal_decimal.o .libs/rasqal_datetime.o .libs/rasqal_rowsource.o .libs/rasqal_sparql_xml.o .libs/rdql_lexer.o .libs/rdql_parser.o .libs/sparql_lexer.o .libs/sparql_parser.o  -L/opt/local/lib /opt/local/lib/libraptor.dylib /opt/local/lib/libcurl.dylib /opt/local/lib/libxslt.dylib /opt/local/lib/libxml2.dylib /opt/local/lib/libz.dylib /opt/local/lib/libiconv.dylib /usr/local/lib/libgmp.a  -install_name  /opt/local/lib/librasqal.1.dylib -compatibility_version 2 -current_version 2.0 -Wl,-single_module
ld: absolute addressing (perhaps -mdynamic-no-pic) used in ___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
collect2: ld returned 1 exit status
make[2]: *** [librasqal.la] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

Change History (9)

comment:1 Changed 15 years ago by ygrange@…

Cc: ygrange@… added

Cc Me!

comment:2 Changed 15 years ago by ygrange@…

Hmm. Removing libgmp.a and reinstalling it vi port seems to have solved the issue... I am not sure wether this was just a problem of my machine or that there is a real bug behind it...

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Cc: ygrange@… removed
Owner: changed from macports-tickets@… to lyle@…

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 15 years ago by tobypeterson

Resolution: fixed
Status: newclosed

Most recent comment indicates that this has been resolved.

comment:6 Changed 15 years ago by florian.feldhaus@…

I encountered the same problem today. The problem dissappeared after I installed gmp before rasqal. Perhaps the maintaner of this package could add gmp to the dependencies.

comment:7 Changed 15 years ago by florian.feldhaus@…

Cc: florian.feldhaus@… added

Cc Me!

comment:8 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:9 Changed 15 years ago by mf2k (Frank Schima)

I just checked. I was able to install rasqal without gmp.

Note: See TracTickets for help on using tickets.