From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078694111548.tru64-unix-managers.marc@archive.invalid> From: Andre Burgers Date: Tue, 24 Feb 1998 11:39:37 +0000 To: tru64-unix-managers Subject: Complex class in C++ V5.7 under Digital UNIX 4.0B X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078694111548 Hi. I have recently installed Digital UNIX 4.0B and C++ V 5.7 on a DEC Alpha Station. I now have problems to run my old C++ programs using complex maths (previously, I had UNIX 3.2): /sbin/loader: Fatal Error: cannot map libcomplex.so Compiling it using -lm -lcomplex flags results in ld: Can't locate file for: -lcomplex using only -lm results in ld: Unresolved: sqrt(const complex&) operator /(const complex&, const complex&) i.e. the complex library is not found. Where did it go? Or is it now included in another library? Which flags should I use when compiling? Thanks in advance, /Andre