Opened 11 years ago

Closed 11 years ago

#22426 closed defect (duplicate)

doxygen: problem finding -lmd5

Reported by: tenomoto (Takeshi Enomoto) Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: doxygen

Description

When linking doxygen in src, g++-4.0 fails to find libmd5.a resulting missing symbols. It is strange since -L../lib is set. Repeading -L.. right before -lmd5 did not help. However, I was able to build doxygen by pointing ../lib/libmd5.a directory.

This symptom is found on a Power Mac G5 and an iMac both running Leopard. XCode 3.1.4 is installed on both machines and using port 1.8.99.

Attachments (1)

Portfile.diff (402 bytes) - added by tenomoto (Takeshi Enomoto) 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by tenomoto (Takeshi Enomoto)

Attachment: Portfile.diff added

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to css@…

comment:2 Changed 11 years ago by cssdev

Does it fail to find md5, or are you encountering the link error noted in #18748? what's the exact error you're getting?

comment:3 Changed 11 years ago by tenomoto (Takeshi Enomoto)

Resolution: duplicate
Status: newclosed

Yes. The errors are identical. Sorry for the duplicate. Now I see why ../lib/libmd5.a are not used. With libwww installed, ${prefix}/lib/libmd5.dylib (or libmd5.a) is found, which does not contain necessary symbols. Specifying ../lib/libmd5.a is more robust than -L../lib -lmd5.

Note: See TracTickets for help on using tickets.