Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#212 closed defect (fixed)

Build problems on OS X Mavericks (10.9)

Reported by: MatthewWhiting Owned by: MatthewWhiting
Priority: high Milestone: Release-1.6
Component: Building/Installation Version: 1.5
Severity: normal Keywords:
Cc:

Description

When building Duchamp on my recently-upgraded macbook pro, I got the following error when linking:

Undefined symbols for architecture x86_64:
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::rfind(char, unsigned long) const", referenced from:
      duchamp::Cube::plotDetectionMap(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in plotting.o
      duchamp::Cube::plotMomentMap(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >) in plotting.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(char const*) const", referenced from:
      duchamp::Param::readParams(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in param.o
      duchamp::Param::checkPars()    in param.o
      duchamp::Param::getObjectChoices(int)  in param.o
      duchamp::operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, duchamp::Param&) in param.o
      duchamp::Param::outputReconFile()     in param.o
      duchamp::Param::outputResidFile()     in param.o
      duchamp::Param::outputSmoothFile()     in param.o
      ...
  "std::__1::__vector_base_common<true>::__throw_length_error() const", referenced from:
      std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::vector(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in mainDuchamp.o
  <snip>
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [duchamp] Error 1

This needs to be resolved for the next release.

Change History (26)

comment:1 Changed 10 years ago by MatthewWhiting

Status: newassigned

Diagnosed problem as being due to conflicting c++ libraries.

If I replace the -lstdc++ with -lc++ in the final linking statement, all is good.

Have added (in [1349]) an extra test in the configure script to pick out libc++ if it is present. It will appear before libstdc++ in the linking statement, although that probably doesn't matter as they'll be dynamic libraries.

Appears to work fine on linux as well.

comment:2 Changed 10 years ago by MatthewWhiting

It got removed in [1351], but put back in in [1352].

comment:3 Changed 10 years ago by MatthewWhiting

So I'm currently working on a different laptop, also running Mavericks, and have had to install the three dependencies and get around the strange gfortran library (gfortran is present, but the libgfortran is in a non-useful location). Here is what finally worked:

./configure --prefix=/Users/whi550 --with-cfitsio=/Users/whi550/Duchamp/DuchampInstall --with-wcslib=/Users/whi550/Duchamp/DuchampInstall --with-pgplot=/Users/whi550/Duchamp/DuchampInstall LIBS="-L/usr/local/Cellar/gfortran/4.8.2/gfortran/lib -lgfortran"

The important bit is the LIBS option to configure. This passes the "-L -l" pair to *both* configure and to the Makefile, and this will make the build and linking work correctly. As it is now doing on this laptop.

(Well, other than the fact that I can't see any fonts in the pgplot graphics, but that's another issue...)

comment:4 Changed 10 years ago by MatthewWhiting

Resolution: fixed
Status: assignedclosed

Closing this, as I'm actually happy it is building on 10.9 now with these tweaks.

comment:5 Changed 9 years ago by GladysSn

Zoloft Average Dose Depression different types of bacterial infections, which include skin infections, sinus Seroquel Depression Dosage Treatment Of Bipolar Disorder <a href=http://www.netvibes.com/lasixonline>Order Lasix Medication</a>. Dairy Allergy And Flu Shot News On Metoprolol Generic Toprol Xl Seroquel Sinus Infection Libido Generic Lorazepam . Buy Citalopram Online Simvastatin Size . Finasteride Tablets Usp 5 Mg Benign Prostatic Hyperplasia Rash Medrol 4mg Dosepak <a href=http://www.netvibes.com/somabuyonline>Sale No Online Prescription Soma Buy</a> Prevacid Generic Pill Pentasa Investors Business Daily Heartburn No Prescription Generic 600 Mg Ibuprofen Drug

comment:6 Changed 9 years ago by GladysSn

Zoloft Average Dose Depression different types of bacterial infections, which include skin infections, sinus Seroquel Depression Dosage Treatment Of Bipolar Disorder <a href=http://www.netvibes.com/lasixonline>Order Lasix Medication</a>. Dairy Allergy And Flu Shot News On Metoprolol Generic Toprol Xl Seroquel Sinus Infection Libido Generic Lorazepam . Buy Citalopram Online Simvastatin Size . Finasteride Tablets Usp 5 Mg Benign Prostatic Hyperplasia Rash Medrol 4mg Dosepak <a href=http://www.netvibes.com/somabuyonline>Sale No Online Prescription Soma Buy</a> Prevacid Generic Pill Pentasa Investors Business Daily Heartburn No Prescription Generic 600 Mg Ibuprofen Drug

comment:7 Changed 9 years ago by GladysSn

Zoloft Average Dose Depression different types of bacterial infections, which include skin infections, sinus Seroquel Depression Dosage Treatment Of Bipolar Disorder <a href=http://www.netvibes.com/lasixonline>Order Lasix Medication</a>. Dairy Allergy And Flu Shot News On Metoprolol Generic Toprol Xl Seroquel Sinus Infection Libido Generic Lorazepam . Buy Citalopram Online Simvastatin Size . Finasteride Tablets Usp 5 Mg Benign Prostatic Hyperplasia Rash Medrol 4mg Dosepak <a href=http://www.netvibes.com/somabuyonline>Sale No Online Prescription Soma Buy</a> Prevacid Generic Pill Pentasa Investors Business Daily Heartburn No Prescription Generic 600 Mg Ibuprofen Drug

comment:8 Changed 9 years ago by GladysSn

Zoloft Average Dose Depression different types of bacterial infections, which include skin infections, sinus Seroquel Depression Dosage Treatment Of Bipolar Disorder <a href=http://www.netvibes.com/lasixonline>Order Lasix Medication</a>. Dairy Allergy And Flu Shot News On Metoprolol Generic Toprol Xl Seroquel Sinus Infection Libido Generic Lorazepam . Buy Citalopram Online Simvastatin Size . Finasteride Tablets Usp 5 Mg Benign Prostatic Hyperplasia Rash Medrol 4mg Dosepak <a href=http://www.netvibes.com/somabuyonline>Sale No Online Prescription Soma Buy</a> Prevacid Generic Pill Pentasa Investors Business Daily Heartburn No Prescription Generic 600 Mg Ibuprofen Drug

comment:9 Changed 9 years ago by GladysSn

Zoloft Average Dose Depression different types of bacterial infections, which include skin infections, sinus Seroquel Depression Dosage Treatment Of Bipolar Disorder <a href=http://www.netvibes.com/lasixonline>Order Lasix Medication</a>. Dairy Allergy And Flu Shot News On Metoprolol Generic Toprol Xl Seroquel Sinus Infection Libido Generic Lorazepam . Buy Citalopram Online Simvastatin Size . Finasteride Tablets Usp 5 Mg Benign Prostatic Hyperplasia Rash Medrol 4mg Dosepak <a href=http://www.netvibes.com/somabuyonline>Sale No Online Prescription Soma Buy</a> Prevacid Generic Pill Pentasa Investors Business Daily Heartburn No Prescription Generic 600 Mg Ibuprofen Drug

comment:10 Changed 9 years ago by GladysSn

Zoloft Average Dose Depression different types of bacterial infections, which include skin infections, sinus Seroquel Depression Dosage Treatment Of Bipolar Disorder <a href=http://www.netvibes.com/lasixonline>Order Lasix Medication</a>. Dairy Allergy And Flu Shot News On Metoprolol Generic Toprol Xl Seroquel Sinus Infection Libido Generic Lorazepam . Buy Citalopram Online Simvastatin Size . Finasteride Tablets Usp 5 Mg Benign Prostatic Hyperplasia Rash Medrol 4mg Dosepak <a href=http://www.netvibes.com/somabuyonline>Sale No Online Prescription Soma Buy</a> Prevacid Generic Pill Pentasa Investors Business Daily Heartburn No Prescription Generic 600 Mg Ibuprofen Drug

comment:11 Changed 9 years ago by GladysSn

Zoloft Average Dose Depression different types of bacterial infections, which include skin infections, sinus Seroquel Depression Dosage Treatment Of Bipolar Disorder <a href=http://www.netvibes.com/lasixonline>Order Lasix Medication</a>. Dairy Allergy And Flu Shot News On Metoprolol Generic Toprol Xl Seroquel Sinus Infection Libido Generic Lorazepam . Buy Citalopram Online Simvastatin Size . Finasteride Tablets Usp 5 Mg Benign Prostatic Hyperplasia Rash Medrol 4mg Dosepak <a href=http://www.netvibes.com/somabuyonline>Sale No Online Prescription Soma Buy</a> Prevacid Generic Pill Pentasa Investors Business Daily Heartburn No Prescription Generic 600 Mg Ibuprofen Drug

comment:12 Changed 9 years ago by GladysSn

Zoloft Average Dose Depression different types of bacterial infections, which include skin infections, sinus Seroquel Depression Dosage Treatment Of Bipolar Disorder <a href=http://www.netvibes.com/lasixonline>Order Lasix Medication</a>. Dairy Allergy And Flu Shot News On Metoprolol Generic Toprol Xl Seroquel Sinus Infection Libido Generic Lorazepam . Buy Citalopram Online Simvastatin Size . Finasteride Tablets Usp 5 Mg Benign Prostatic Hyperplasia Rash Medrol 4mg Dosepak <a href=http://www.netvibes.com/somabuyonline>Sale No Online Prescription Soma Buy</a> Prevacid Generic Pill Pentasa Investors Business Daily Heartburn No Prescription Generic 600 Mg Ibuprofen Drug

comment:13 Changed 9 years ago by Vanessapync

Metronidazole Description Acne Motrin 3 30mg Post Inflammatory Hyperpigmentation Accutane <a href=http://www.netvibes.com/lasixonline>Lasix Online</a>. Symbols Of Digoxin Overdose Fluconazole 150mg Pill Name clindamycin. Buy Voltaren Gel Online - from $14.95 per tube. Order Voltaren Gel online. Safe Lo Ovral Bleeding Norgestrel Ethinyl Estradiol . Side Effects Of Prednisone In Boys Lipitor Hcl . Isosorbide Mononitrate Erectile Dysfunction High Cholesterol Accutane Acne Medication <a href=http://www.netvibes.com/somabuyonline>Buy Cheap Soma Prescriptions Online Cod</a> Will Zolpidem Tartrate Show Up On Drug Test Does Zetia Cause Cancer Plant Sterols Puppies Low Allergy Allegra Amazon Prescription Online Stimula Nexium

comment:14 Changed 9 years ago by Vanessapync

Metronidazole Description Acne Motrin 3 30mg Post Inflammatory Hyperpigmentation Accutane <a href=http://www.netvibes.com/lasixonline>Lasix Online</a>. Symbols Of Digoxin Overdose Fluconazole 150mg Pill Name clindamycin. Buy Voltaren Gel Online - from $14.95 per tube. Order Voltaren Gel online. Safe Lo Ovral Bleeding Norgestrel Ethinyl Estradiol . Side Effects Of Prednisone In Boys Lipitor Hcl . Isosorbide Mononitrate Erectile Dysfunction High Cholesterol Accutane Acne Medication <a href=http://www.netvibes.com/somabuyonline>Buy Cheap Soma Prescriptions Online Cod</a> Will Zolpidem Tartrate Show Up On Drug Test Does Zetia Cause Cancer Plant Sterols Puppies Low Allergy Allegra Amazon Prescription Online Stimula Nexium

comment:15 Changed 9 years ago by Vanessapync

Metronidazole Description Acne Motrin 3 30mg Post Inflammatory Hyperpigmentation Accutane <a href=http://www.netvibes.com/lasixonline>Lasix Online</a>. Symbols Of Digoxin Overdose Fluconazole 150mg Pill Name clindamycin. Buy Voltaren Gel Online - from $14.95 per tube. Order Voltaren Gel online. Safe Lo Ovral Bleeding Norgestrel Ethinyl Estradiol . Side Effects Of Prednisone In Boys Lipitor Hcl . Isosorbide Mononitrate Erectile Dysfunction High Cholesterol Accutane Acne Medication <a href=http://www.netvibes.com/somabuyonline>Buy Cheap Soma Prescriptions Online Cod</a> Will Zolpidem Tartrate Show Up On Drug Test Does Zetia Cause Cancer Plant Sterols Puppies Low Allergy Allegra Amazon Prescription Online Stimula Nexium

comment:16 Changed 9 years ago by Vanessapync

Metronidazole Description Acne Motrin 3 30mg Post Inflammatory Hyperpigmentation Accutane <a href=http://www.netvibes.com/lasixonline>Lasix Online</a>. Symbols Of Digoxin Overdose Fluconazole 150mg Pill Name clindamycin. Buy Voltaren Gel Online - from $14.95 per tube. Order Voltaren Gel online. Safe Lo Ovral Bleeding Norgestrel Ethinyl Estradiol . Side Effects Of Prednisone In Boys Lipitor Hcl . Isosorbide Mononitrate Erectile Dysfunction High Cholesterol Accutane Acne Medication <a href=http://www.netvibes.com/somabuyonline>Buy Cheap Soma Prescriptions Online Cod</a> Will Zolpidem Tartrate Show Up On Drug Test Does Zetia Cause Cancer Plant Sterols Puppies Low Allergy Allegra Amazon Prescription Online Stimula Nexium

comment:17 Changed 9 years ago by Vanessapync

Metronidazole Description Acne Motrin 3 30mg Post Inflammatory Hyperpigmentation Accutane <a href=http://www.netvibes.com/lasixonline>Lasix Online</a>. Symbols Of Digoxin Overdose Fluconazole 150mg Pill Name clindamycin. Buy Voltaren Gel Online - from $14.95 per tube. Order Voltaren Gel online. Safe Lo Ovral Bleeding Norgestrel Ethinyl Estradiol . Side Effects Of Prednisone In Boys Lipitor Hcl . Isosorbide Mononitrate Erectile Dysfunction High Cholesterol Accutane Acne Medication <a href=http://www.netvibes.com/somabuyonline>Buy Cheap Soma Prescriptions Online Cod</a> Will Zolpidem Tartrate Show Up On Drug Test Does Zetia Cause Cancer Plant Sterols Puppies Low Allergy Allegra Amazon Prescription Online Stimula Nexium

comment:18 Changed 9 years ago by Vanessapync

Metronidazole Description Acne Motrin 3 30mg Post Inflammatory Hyperpigmentation Accutane <a href=http://www.netvibes.com/lasixonline>Lasix Online</a>. Symbols Of Digoxin Overdose Fluconazole 150mg Pill Name clindamycin. Buy Voltaren Gel Online - from $14.95 per tube. Order Voltaren Gel online. Safe Lo Ovral Bleeding Norgestrel Ethinyl Estradiol . Side Effects Of Prednisone In Boys Lipitor Hcl . Isosorbide Mononitrate Erectile Dysfunction High Cholesterol Accutane Acne Medication <a href=http://www.netvibes.com/somabuyonline>Buy Cheap Soma Prescriptions Online Cod</a> Will Zolpidem Tartrate Show Up On Drug Test Does Zetia Cause Cancer Plant Sterols Puppies Low Allergy Allegra Amazon Prescription Online Stimula Nexium

comment:19 Changed 9 years ago by Vanessapync

Metronidazole Description Acne Motrin 3 30mg Post Inflammatory Hyperpigmentation Accutane <a href=http://www.netvibes.com/lasixonline>Lasix Online</a>. Symbols Of Digoxin Overdose Fluconazole 150mg Pill Name clindamycin. Buy Voltaren Gel Online - from $14.95 per tube. Order Voltaren Gel online. Safe Lo Ovral Bleeding Norgestrel Ethinyl Estradiol . Side Effects Of Prednisone In Boys Lipitor Hcl . Isosorbide Mononitrate Erectile Dysfunction High Cholesterol Accutane Acne Medication <a href=http://www.netvibes.com/somabuyonline>Buy Cheap Soma Prescriptions Online Cod</a> Will Zolpidem Tartrate Show Up On Drug Test Does Zetia Cause Cancer Plant Sterols Puppies Low Allergy Allegra Amazon Prescription Online Stimula Nexium

comment:20 Changed 9 years ago by Vanessapync

Metronidazole Description Acne Motrin 3 30mg Post Inflammatory Hyperpigmentation Accutane <a href=http://www.netvibes.com/lasixonline>Lasix Online</a>. Symbols Of Digoxin Overdose Fluconazole 150mg Pill Name clindamycin. Buy Voltaren Gel Online - from $14.95 per tube. Order Voltaren Gel online. Safe Lo Ovral Bleeding Norgestrel Ethinyl Estradiol . Side Effects Of Prednisone In Boys Lipitor Hcl . Isosorbide Mononitrate Erectile Dysfunction High Cholesterol Accutane Acne Medication <a href=http://www.netvibes.com/somabuyonline>Buy Cheap Soma Prescriptions Online Cod</a> Will Zolpidem Tartrate Show Up On Drug Test Does Zetia Cause Cancer Plant Sterols Puppies Low Allergy Allegra Amazon Prescription Online Stimula Nexium

comment:21 Changed 9 years ago by Chasityvets

Hats Ibuprofen Gel How Prescription Drug Addiction Began . Metronidazole Long Term Make Tetracycline Without A Prescription <a href=http://www.netvibes.com/somabuyonline>Online No Prescription Needed Soma Cod</a> Vasectomy And Ibuprofen Does Propecia Increase Testosterone Mirena En Migraine Pelvic Pain Canadian Lexapro Rx . Nexium Er Rogaine Does It Work Men Testosterone Replacement And Lh <a href=http://www.netvibes.com/lasixonline>Read An Online Prescription For Lasix</a>. Juvent Osteoporosis Drug Hydrocodone 7.5 Acetaminophen 500 Buy Reglan With Credit Card Sulfamethoxazole Trimethoprim Tablets .

comment:22 Changed 9 years ago by Chasityvets

Hats Ibuprofen Gel How Prescription Drug Addiction Began . Metronidazole Long Term Make Tetracycline Without A Prescription <a href=http://www.netvibes.com/somabuyonline>Online No Prescription Needed Soma Cod</a> Vasectomy And Ibuprofen Does Propecia Increase Testosterone Mirena En Migraine Pelvic Pain Canadian Lexapro Rx . Nexium Er Rogaine Does It Work Men Testosterone Replacement And Lh <a href=http://www.netvibes.com/lasixonline>Read An Online Prescription For Lasix</a>. Juvent Osteoporosis Drug Hydrocodone 7.5 Acetaminophen 500 Buy Reglan With Credit Card Sulfamethoxazole Trimethoprim Tablets .

comment:23 Changed 9 years ago by Chasityvets

Hats Ibuprofen Gel How Prescription Drug Addiction Began . Metronidazole Long Term Make Tetracycline Without A Prescription <a href=http://www.netvibes.com/somabuyonline>Online No Prescription Needed Soma Cod</a> Vasectomy And Ibuprofen Does Propecia Increase Testosterone Mirena En Migraine Pelvic Pain Canadian Lexapro Rx . Nexium Er Rogaine Does It Work Men Testosterone Replacement And Lh <a href=http://www.netvibes.com/lasixonline>Read An Online Prescription For Lasix</a>. Juvent Osteoporosis Drug Hydrocodone 7.5 Acetaminophen 500 Buy Reglan With Credit Card Sulfamethoxazole Trimethoprim Tablets .

comment:24 Changed 9 years ago by Chasityvets

Hats Ibuprofen Gel How Prescription Drug Addiction Began . Metronidazole Long Term Make Tetracycline Without A Prescription <a href=http://www.netvibes.com/somabuyonline>Online No Prescription Needed Soma Cod</a> Vasectomy And Ibuprofen Does Propecia Increase Testosterone Mirena En Migraine Pelvic Pain Canadian Lexapro Rx . Nexium Er Rogaine Does It Work Men Testosterone Replacement And Lh <a href=http://www.netvibes.com/lasixonline>Read An Online Prescription For Lasix</a>. Juvent Osteoporosis Drug Hydrocodone 7.5 Acetaminophen 500 Buy Reglan With Credit Card Sulfamethoxazole Trimethoprim Tablets .

comment:25 Changed 9 years ago by Chasityvets

Hats Ibuprofen Gel How Prescription Drug Addiction Began . Metronidazole Long Term Make Tetracycline Without A Prescription <a href=http://www.netvibes.com/somabuyonline>Online No Prescription Needed Soma Cod</a> Vasectomy And Ibuprofen Does Propecia Increase Testosterone Mirena En Migraine Pelvic Pain Canadian Lexapro Rx . Nexium Er Rogaine Does It Work Men Testosterone Replacement And Lh <a href=http://www.netvibes.com/lasixonline>Read An Online Prescription For Lasix</a>. Juvent Osteoporosis Drug Hydrocodone 7.5 Acetaminophen 500 Buy Reglan With Credit Card Sulfamethoxazole Trimethoprim Tablets .

Note: See TracTickets for help on using tickets.