Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#50639 closed defect (fixed)

spatialite-tools @4.1.1_1: symbol(s) not found for architecture x86_64

Reported by: jeabraham Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: spatialite-tools

Description

I can't install spatialite I get a bunch of "Undefined symbols for architecture x86_64:" e.g.

Undefined symbols for architecture x86_64:
:info:build   "_sqlite3_close", referenced from:
:info:build       _main in spatialite_tool.o

Attachments (1)

main.log (36.8 KB) - added by jeabraham 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by jeabraham

Attachment: main.log added

comment:1 Changed 9 years ago by jeabraham

My apologies it looks like the compilation error is in spatialite-tools not in spatialite itself.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sqlite spatialite_tool architecture x86_64 removed
Port: spatialite-tools added; spatialite removed
Summary: Spatialite @4.3.0 symbol(s) not found for architecture x86_64spatialite-tools @4.1.1_1: symbol(s) not found for architecture x86_64

Looks like it's just missing -lsqlite3? Wonder how this ever worked.

comment:3 Changed 9 years ago by sonkm3 (sonkm3)

Hi, I had same problem.

I was working on spatialite-tools Portfile in local repository and found that spatialite-tools in repository is 4.1.1, but spatialite in macports repository is 4.3.0

With spatialite-tools 4.3.0, Building port and spatialite command is working on my environment.

here are diff of Portfile.

thanks.

$ diff -u Portfile ports/databases/spatialite-tools/Portfile
--- Portfile	2016-02-17 16:37:16.000000000 +0900
+++ ports/databases/spatialite-tools/Portfile	2016-02-17 16:37:57.000000000 +0900
@@ -4,7 +4,7 @@
 PortSystem 1.0

 name                    spatialite-tools
-version                 4.1.1
+version                 4.3.0
 revision                1
 categories              databases gis
 license                 GPL-3
@@ -19,8 +19,8 @@
 master_sites            http://www.gaia-gis.it/gaia-sins/
 distname                spatialite-tools-${version}

-checksums               rmd160  f15e893c89318d62f568c7e127f9b417e760f35f \
-                        sha256  3bfb1be0866d2b7540645b4a1459e581cbf3e2d2f43981d66a7e98a536ac5891
+checksums               rmd160  97314411fc2a93e376ddd1e1b219e226fb6f68b8 \
+                        sha256  f739859bc04f38735591be2f75009b98a2359033675ae310dffc3114a17ccf89

 depends_build           port:pkgconfig
 depends_lib             port:spatialite\

comment:4 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:5 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

done r146310 - reopen if you still have issues after updating

comment:6 Changed 9 years ago by sonkm3 (sonkm3)

Hi,

After port selfupdate, and remove my local portfile, It's working on my environment.

thank you!

Note: See TracTickets for help on using tickets.