When i make opencog from build directory, it failed. Something went wrong with logger.so.
Scanning dependencies of target combo-man
Scanning dependencies of target cogutil
Scanning dependencies of target blopex
Scanning dependencies of target json_spirit
[ 1%] Generating eval-table.1.gz
[ 3%] Building C object opencog/learning/clustering/blopex/CMakeFiles/blopex.dir/fortran_matrix.c.o
[ 3%] Building CXX object lib/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_reader.cpp.o
[ 3%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/ansi.cc.o
[ 3%] Built target combo-man
Scanning dependencies of target moses_exec
[ 3%] Building CXX object opencog/learning/moses/main/CMakeFiles/moses_exec.dir/demo-problems.cc.o
[ 3%] Building C object opencog/util/CMakeFiles/cogutil.dir/backtrace-symbols.c.o
[ 3%] Building C object opencog/util/CMakeFiles/cogutil.dir/cluster.c.o
[ 3%] Building C object opencog/learning/clustering/blopex/CMakeFiles/blopex.dir/lobpcg.c.o
[ 3%] Building C object opencog/learning/clustering/blopex/CMakeFiles/blopex.dir/multivector.c.o
[ 3%] Building C object opencog/learning/clustering/blopex/CMakeFiles/blopex.dir/temp_multivector.c.o
[ 3%] Linking C shared library libblopex.so
[ 3%] Built target blopex
Scanning dependencies of target ant_scoring
[ 3%] Building CXX object opencog/learning/moses/example-ant/CMakeFiles/ant_scoring.dir/ant_scoring.cc.o
[ 3%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/Config.cc.o
[ 5%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/exceptions.cc.o
[ 5%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/files.cc.o
[ 5%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/lazy_normal_selector.cc.o
[ 5%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/lazy_random_selector.cc.o
[ 5%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/lazy_selector.cc.o
[ 5%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/log_prog_name.cc.o
[ 5%] Linking CXX static library libant_scoring.a
[ 5%] Built target ant_scoring
Scanning dependencies of target moses-man
[ 5%] Generating moses.1.gz
[ 5%] Built target moses-man
Scanning dependencies of target feature-man
[ 5%] Generating feature-selection.1.gz
[ 5%] Built target feature-man
Scanning dependencies of target opencog_atom_types
[ 5%] Generating opencog types
-- Atom type name: Notype
-- Atom type name: Atom
-- Atom type name: Node
-- Atom type name: Link
-- Atom type name: ConceptNode
-- Atom type name: NumberNode
-- Atom type name: OrderedLink
-- Atom type name: UnorderedLink
-- Atom type name: SetLink
-- Atom type name: ListLink
-- Atom type name: MemberLink
-- Atom type name: SubsetLink
-- Atom type name: AndLink
-- Atom type name: OrLink
-- Atom type name: NotLink
-- Atom type name: SequentialAndLink
-- Atom type name: AbsentLink
-- Atom type name: ContextLink
-- Atom type name: TypeNode
-- Atom type name: TypeChoice
-- Atom type name: VariableNode
-- Atom type name: TypedVariableLink
-- Atom type name: VariableList
-- Atom type name: QuoteLink
-- Atom type name: LambdaLink
-- Atom type name: DefineLink
-- Atom type name: BetaRedex
-- Atom type name: ConcreteLink
-- Atom type name: SatisfactionLink
-- Atom type name: BindLink
-- Custom atom type name specified: "ForAllLink"
-- Atom type name: ForAllLink
-- Atom type name: ExistsLink
-- Atom type name: AverageLink
-- Atom type name: SatisfyingSetLink
-- Atom type name: ScholemLink
-- Atom type name: ImplicationLink
-- Atom type name: EquivalenceLink
-- Atom type name: EvaluationLink
-- Atom type name: AssociativeLink
-- Atom type name: InheritanceLink
-- Atom type name: SimilarityLink
-- Atom type name: AttractionLink
-- Atom type name: ProcedureNode
-- Atom type name: GroundedProcedureNode
-- Atom type name: SchemaNode
-- Atom type name: GroundedSchemaNode
-- Atom type name: PredicateNode
-- Atom type name: GroundedPredicateNode
-- Atom type name: DefinedRelationshipNode
-- Atom type name: SchemaExecutionLink
-- Atom type name: SchemaEvaluationLink
-- Atom type name: ExecutionLink
-- Atom type name: ExecutionOutputLink
-- Atom type name: AnchorNode
-- Atom type name: QuantityLink
-- Atom type name: PlusLink
-- Atom type name: TimesLink
-- Atom type name: VirtualLink
-- Atom type name: GreaterThanLink
[ 5%] Built target opencog_atom_types
Scanning dependencies of target embodiment_atom_types
[ 5%] Generating opencog types
-- Atom type name: PetNode
-- Atom type name: AvatarNode
-- Atom type name: AccessoryNode
-- Atom type name: HumanoidNode
-- Atom type name: UnknownObjectNode
-- Atom type name: IsAcceptableSecondArgLink
-- Atom type name: OntologicalInheritanceLink
-- Custom atom type name specified: "WRLink"
-- Atom type name: WRLink
-- Atom type name: FrequencyLink
-- Atom type name: FeelingNode
-- Atom type name: PhraseNode
-- Atom type name: SpeechActTriggerNode
-- Atom type name: SpeechActSchemaNode
-- Atom type name: DialogNode
-- Atom type name: UtteranceNode
-- Atom type name: DefinedFrameNode
-- Atom type name: DefinedFrameElementNode
-- Atom type name: FrameElementLink
-- Atom type name: SimultaneousEquivalenceLink
[ 5%] Built target embodiment_atom_types
[ 5%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/Logger.cc.o
[ 5%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/misc.cc.o
[ 5%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/mt19937ar.cc.o
[ 5%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/oc_assert.cc.o
[ 7%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/oc_omp.cc.o
[ 7%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/octime.cc.o
[ 7%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/platform.cc.o
[ 7%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/StringManipulator.cc.o
[ 7%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/StringTokenizer.cc.o
[ 7%] Building CXX object opencog/learning/moses/main/CMakeFiles/moses_exec.dir/problem.cc.o
[ 7%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/tree.cc.o
Scanning dependencies of target spacetime_atom_types
[ 7%] Generating opencog types
-- Atom type name: SpaceMapNode
-- Atom type name: ObjectNode
-- Atom type name: BlockEntityNode
-- Atom type name: StructureNode
-- Atom type name: ImaginaryStructureNode
-- Atom type name: TimeNode
-- Atom type name: AtTimeLink
-- Atom type name: LatestLink
-- Atom type name: BeforeLink
-- Atom type name: OverlapsLink
-- Atom type name: DuringLink
-- Atom type name: MeetsLink
-- Atom type name: StartsLink
-- Atom type name: FinishesLink
-- Atom type name: EqualsLink
-- Atom type name: AfterLink
-- Atom type name: OverlappedByLink
-- Atom type name: ContainsLink
-- Atom type name: MetByLink
-- Atom type name: StartedByLink
-- Atom type name: FinishedByLink
[ 7%] Built target spacetime_atom_types
[ 7%] Building CXX object opencog/learning/moses/main/CMakeFiles/moses_exec.dir/problem-params.cc.o
[ 7%] Linking CXX shared library libcogutil.so
[ 7%] Built target cogutil
Scanning dependencies of target pln_atom_types
[ 7%] Generating opencog types
-- Atom type name: PredictiveImplicationLink
-- Atom type name: TailPredictiveImplicationLink
-- Atom type name: PredictiveAttractionLink
-- Atom type name: SimultaneousAndLink
-- Custom atom type name specified: "EventualSequentialAND"
-- Atom type name: EventualSequentialAND
-- Custom atom type name specified: "EventualSequentialImplication"
-- Atom type name: EventualSequentialImplication
-- Atom type name: ExtensionalSimilarityLink
-- Atom type name: IntensionalSimilarityLink
-- Atom type name: IntensionalInheritanceLink
-- Atom type name: AtTimeLink
-- Atom type name: OntologicalInheritanceLink
[ 7%] Built target pln_atom_types
[ 9%] Building CXX object opencog/learning/moses/main/CMakeFiles/moses_exec.dir/moses_exec.cc.o
[ 9%] Building CXX object opencog/learning/moses/main/CMakeFiles/moses_exec.dir/moses_exec_def.cc.o
[ 9%] Building CXX object opencog/learning/moses/main/CMakeFiles/moses_exec.dir/table-problems.cc.o
[ 9%] Building CXX object lib/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_value.cpp.o
[ 10%] Building CXX object lib/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_writer.cpp.o
Scanning dependencies of target nlp_atom_types
[ 10%] Generating opencog types
-- Atom type name: WordNode
-- Atom type name: AnyNode
-- Atom type name: ReferenceLink
-- Atom type name: DocumentNode
-- Atom type name: SentenceNode
-- Atom type name: SentenceLink
-- Atom type name: ParseNode
-- Atom type name: ParseLink
-- Atom type name: WordInstanceNode
-- Atom type name: WordInstanceLink
-- Atom type name: SequenceLink
-- Atom type name: WordSequenceLink
-- Atom type name: SentenceSequenceLink
-- Atom type name: DocumentSequenceLink
-- Atom type name: FeatureNode
-- Atom type name: FeatureLink
-- Atom type name: LinkGrammarRelationshipNode
-- Atom type name: LinkGrammarDisjunctNode
-- Atom type name: DefinedLinguisticConceptNode
-- Atom type name: DefinedLinguisticRelationshipNode
-- Atom type name: PrepositionalRelationshipNode
-- Atom type name: WordSenseNode
-- Atom type name: WordSenseLink
-- Atom type name: PartOfSpeechNode
-- Atom type name: PartOfSpeechLink
-- Atom type name: LemmaNode
-- Atom type name: LemmaLink
-- Atom type name: HolonymLink
-- Atom type name: CosenseLink
-- Atom type name: SemeNode
-- Atom type name: SemanticRelationNode
-- Atom type name: InterpretationNode
-- Atom type name: InterpretationLink
-- Atom type name: SpecificEntityNode
-- Atom type name: LgConnectorNode
-- Atom type name: LgConnMultiNode
-- Atom type name: LgConnDirNode
-- Atom type name: LgConnector
-- Custom atom type name specified: "MSTConnector"
-- Atom type name: MSTConnector
-- Atom type name: LgSeq
-- Atom type name: LgAnd
-- Atom type name: LgOr
-- Atom type name: LgWordCset
-- Atom type name: LgLinkInstanceNode
-- Atom type name: LgLinkInstanceLink
-- Custom atom type name specified: "MSTLinkNode"
-- Atom type name: MSTLinkNode
-- Custom atom type name specified: "MSTDisjunctNode"
-- Atom type name: MSTDisjunctNode
[ 10%] Built target nlp_atom_types
Scanning dependencies of target attention_atom_types
[ 10%] Generating opencog types
-- Atom type name: HebbianLink
-- Atom type name: AsymmetricHebbianLink
-- Atom type name: SymmetricHebbianLink
-- Atom type name: InverseHebbianLink
-- Atom type name: SymmetricInverseHebbianLink
[ 10%] Built target attention_atom_types
Scanning dependencies of target spacetime-types
[ 10%] Building CXX object opencog/spacetime/CMakeFiles/spacetime-types.dir/atom_types_init.cc.o
Scanning dependencies of target cogita
[ 10%] Building CXX object opencog/nlp/chatbot/CMakeFiles/cogita.dir/CogitaConfig.cc.o
[ 10%] Building CXX object opencog/nlp/chatbot/CMakeFiles/cogita.dir/IRC.cc.o
[ 10%] Building CXX object opencog/nlp/chatbot/CMakeFiles/cogita.dir/go-irc.cc.o
[ 10%] Building CXX object opencog/nlp/chatbot/CMakeFiles/cogita.dir/whirr-sockets.cc.o
[ 10%] Linking CXX executable cogita
[ 10%] Built target cogita
Scanning dependencies of target viterbi_atom_types
[ 12%] Generating opencog types
-- Atom type name: LgStatePair
[ 12%] Built target viterbi_atom_types
Scanning dependencies of target savable
[ 12%] Building CXX object opencog/persist/file/CMakeFiles/savable.dir/CoreUtils.cc.o
[ 12%] Linking CXX shared library libspacetime-types.so
[ 12%] Built target spacetime-types
[ 12%] Cythonizing logger.pyx
Scanning dependencies of target logger_cython
[ 12%] Building CXX object opencog/cython/opencog/CMakeFiles/logger_cython.dir/logger.cpp.o
[ 12%] Linking CXX static library libmoses_exec.a
[ 12%] Built target moses_exec
Scanning dependencies of target TangentBug
[ 12%] Building CXX object opencog/spatial/CMakeFiles/TangentBug.dir/TangentBugCommons.cc.o
[ 12%] Building CXX object opencog/persist/file/CMakeFiles/savable.dir/SavingLoading.cc.o
[ 12%] Linking CXX shared library logger.so
/usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpython2.7.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
opencog/cython/opencog/CMakeFiles/logger_cython.dir/build.make:104: recipe for target 'opencog/cython/opencog/logger.so' failed
make[2]: *** [opencog/cython/opencog/logger.so] Error 1
CMakeFiles/Makefile2:5722: recipe for target 'opencog/cython/opencog/CMakeFiles/logger_cython.dir/all' failed
make[1]: *** [opencog/cython/opencog/CMakeFiles/logger_cython.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 12%] Building CXX object opencog/persist/file/CMakeFiles/savable.dir/SpaceServerSavable.cc.o
[ 12%] Building CXX object opencog/spatial/CMakeFiles/TangentBug.dir/TangentBug.cc.o
[ 12%] Building CXX object opencog/persist/file/CMakeFiles/savable.dir/TimeServerSavable.cc.o
[ 12%] Linking CXX static library libjson_spirit.a
[ 12%] Built target json_spirit
[ 14%] Building CXX object opencog/persist/file/CMakeFiles/savable.dir/TemporalTableFile.cc.o
[ 14%] Linking CXX static library libTangentBug.a
[ 14%] Built target TangentBug
[ 14%] Linking CXX shared library libsavable.so
[ 14%] Built target savable
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
there is no logger.so in the directory. How to solve this?
Thanks in advance ,
Vishnu