On Jul 9, 2007, at 6:35 PM, Malcolm Fitzgerald wrote:
Building claws-mail I got lots of messages like this

I don't see a claws-mail port, are you writing one?

symbol _UI_OpenSSL used from dynamic
library /usr/lib/libcrypto.0.9.7.dylib(ui_openssl.o) not from earlier
dynamic library /opt/local/lib/libcrypto.0.9.8.dylib(ui_openssl.o)

I solved it by moving the libs out of /usr/lib while I built the
application. When I ran it it said it couldn't go because those libs
weren't present, so I've put them back. It worked, I'm using claws- mail
to write this.

You need to tell the claws-mail build system to look for libs (and includes) in /opt/local

What is the best way to resolve these issues? How can I do it so that
everything is being built inside /opt/local ?

If it's an autoconf-based project, it's fairly simple (set CPPFLAGS=- I/opt/local/include and LDFLAGS=-L/opt/local/lib in your shell). Of course, if you create a Portfile, macports will do this for you and when the port gets committed, other people will be able to benefit from your work.

--
Daniel J. Luke
+========================================================+
| *---------------- [EMAIL PROTECTED] ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to